Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.317/1.317, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009047/0.0009048, allocations: 183.5 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007922/0.0007922, allocations: 76.78 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1784/0.1792, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.606, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.926/3.532, allocations: 2.094 GB / 3.058 GB, free: 329.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/3.532, allocations: 85.8 kB / 3.058 GB, free: 329.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1967 * Number of variables: 1967 Notification: Performance of Generate backend data structure: time 1.102/4.633, allocations: 395.2 MB / 3.444 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/4.634, allocations: 7.281 kB / 3.444 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04079/4.674, allocations: 6.762 MB / 3.45 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007656/4.682, allocations: 3.624 MB / 3.454 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/4.682, allocations: 247.5 kB / 3.454 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/4.685, allocations: 429.9 kB / 3.454 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02273/4.708, allocations: 10.18 MB / 3.464 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/4.726, allocations: 8.287 MB / 3.473 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/4.727, allocations: 1.781 kB / 3.473 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008287/4.727, allocations: 2.375 kB / 3.473 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/4.728, allocations: 187.8 kB / 3.473 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04933/4.777, allocations: 26.59 MB / 3.499 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/4.789, allocations: 6.782 MB / 3.505 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006086/4.795, allocations: 3.695 MB / 3.509 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/4.796, allocations: 0.6698 MB / 3.51 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007674/4.804, allocations: 4.392 MB / 3.514 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=677): time 1.052e-05/4.804, allocations: 0 / 3.514 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=677): time 0.01764/4.822, allocations: 7.87 MB / 3.522 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/4.822, allocations: 465.1 kB / 3.522 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/4.827, allocations: 2.306 MB / 3.524 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001991/4.829, allocations: 32.67 kB / 3.524 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001757/4.831, allocations: 2.027 MB / 3.526 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002565/4.834, allocations: 2.107 MB / 3.528 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/4.835, allocations: 3.719 kB / 3.528 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003478/4.835, allocations: 0.5174 MB / 3.529 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005566/4.841, allocations: 2.939 MB / 3.532 GB, free: 184.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005791/4.847, allocations: 3.473 MB / 3.535 GB, free: 183 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008165/4.855, allocations: 3.767 MB / 3.539 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/4.855, allocations: 2.531 kB / 3.539 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0194/4.874, allocations: 8.225 MB / 3.547 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/4.874, allocations: 8 kB / 3.547 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/4.874, allocations: 4 kB / 3.547 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/4.875, allocations: 187.5 kB / 3.547 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/4.888, allocations: 1.948 MB / 3.549 GB, free: 172 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/4.891, allocations: 2.939 MB / 3.552 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/4.901, allocations: 0.9115 MB / 3.553 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/4.903, allocations: 303.1 kB / 3.553 GB, free: 168.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 744 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002461/4.905, allocations: 191.5 kB / 3.553 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/4.907, allocations: 469.8 kB / 3.554 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/4.933, allocations: 10.21 MB / 3.564 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/4.933, allocations: 68 kB / 3.564 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/4.933, allocations: 4 kB / 3.564 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.398e-05/4.933, allocations: 35.39 kB / 3.564 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02916/4.962, allocations: 17.59 MB / 3.581 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/4.962, allocations: 0 / 3.581 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/4.974, allocations: 1.828 MB / 3.583 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/4.975, allocations: 185.9 kB / 3.583 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/4.976, allocations: 144.2 kB / 3.583 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/4.979, allocations: 2.973 MB / 3.586 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/4.979, allocations: 0 / 3.586 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01644/4.995, allocations: 8.196 MB / 3.594 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01567/5.011, allocations: 8.675 MB / 3.602 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003682/5.015, allocations: 1.828 MB / 3.604 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/5.017, allocations: 4 kB / 3.604 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009102/5.026, allocations: 0.6608 MB / 3.605 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/5.027, allocations: 362.4 kB / 3.605 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008853/5.027, allocations: 268.2 kB / 3.605 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.003041/5.03, allocations: 1.932 MB / 3.607 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006301/5.037, allocations: 1.853 MB / 3.609 GB, free: 118.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (718): * Single equations (assignments): 712 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0026/5.039, allocations: 1.234 MB / 3.61 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01341/5.053, allocations: 7.656 MB / 3.618 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/5.053, allocations: 0 / 3.618 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006627/5.059, allocations: 4.274 MB / 3.622 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/5.063, allocations: 0.5668 MB / 3.622 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/5.088, allocations: 10.18 MB / 3.632 GB, free: 96.62 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008848/5.097, allocations: 4.199 MB / 3.636 GB, free: 93.57 MB / 0.9323 GB Notification: Performance of SimCode: time 8.61e-07/5.097, allocations: 0 / 3.636 GB, free: 93.57 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_Validation_BESTEST_WD400.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)