Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.0/package.mo): time 2.467/2.467, allocations: 284.8 MB / 292.1 MB, free: 9.816 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.001663/0.001662, allocations: 178.4 kB / 360.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 0.6187 GB, free: 3.336 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 101.2 kB / 0.7317 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5377/0.539, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.7711, allocations: 115.3 MB / 0.9628 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.841, allocations: 449.5 MB / 1.402 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.842, allocations: 93.02 kB / 1.402 GB, free: 7.66 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 4.565/6.407, allocations: 0.9889 GB / 2.391 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/6.407, allocations: 16.98 kB / 2.391 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008397/6.416, allocations: 0.7985 MB / 2.392 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04303/6.459, allocations: 9.011 MB / 2.4 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/6.459, allocations: 36 kB / 2.4 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007712/6.46, allocations: 80 kB / 2.4 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003483/6.463, allocations: 0.9302 MB / 2.401 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/6.469, allocations: 1.24 MB / 2.403 GB, free: 99.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.069e-05/6.469, allocations: 4 kB / 2.403 GB, free: 99.84 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004692/6.469, allocations: 4 kB / 2.403 GB, free: 99.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.012e-05/6.469, allocations: 31.98 kB / 2.403 GB, free: 99.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/6.491, allocations: 8.278 MB / 2.411 GB, free: 91.07 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/6.493, allocations: 0.6716 MB / 2.411 GB, free: 90.38 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/6.494, allocations: 372.7 kB / 2.412 GB, free: 90.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008854/6.503, allocations: 2.908 MB / 2.415 GB, free: 86.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/6.505, allocations: 399 kB / 2.415 GB, free: 86.48 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 6.703e-06/6.505, allocations: 0 / 2.415 GB, free: 86.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.006583/6.511, allocations: 0.863 MB / 2.416 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/6.511, allocations: 111.5 kB / 2.416 GB, free: 85.48 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004476/6.516, allocations: 1.18 MB / 2.417 GB, free: 84.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003877/6.516, allocations: 29.7 kB / 2.417 GB, free: 84.27 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/6.517, allocations: 0.6088 MB / 2.418 GB, free: 83.65 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/6.518, allocations: 228.6 kB / 2.418 GB, free: 83.42 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/6.518, allocations: 0 / 2.418 GB, free: 83.42 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001029/6.518, allocations: 341.9 kB / 2.418 GB, free: 83.08 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000908/6.519, allocations: 334.5 kB / 2.419 GB, free: 82.75 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/6.52, allocations: 0.7856 MB / 2.419 GB, free: 81.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/6.522, allocations: 0.505 MB / 2.42 GB, free: 81.28 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/6.522, allocations: 6.562 kB / 2.42 GB, free: 81.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004638/6.527, allocations: 1.238 MB / 2.421 GB, free: 80.04 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001064/6.528, allocations: 4.96 MB / 2.426 GB, free: 74.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-05/6.528, allocations: 16 kB / 2.426 GB, free: 74.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/6.528, allocations: 23.98 kB / 2.426 GB, free: 74.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/6.531, allocations: 297.3 kB / 2.426 GB, free: 74.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/6.531, allocations: 31.86 kB / 2.426 GB, free: 74.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/6.534, allocations: 196 kB / 2.426 GB, free: 74.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/6.535, allocations: 59.97 kB / 2.426 GB, free: 74.11 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/6.535, allocations: 7.938 kB / 2.426 GB, free: 74.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004062/6.539, allocations: 1.005 MB / 2.427 GB, free: 73.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/6.539, allocations: 12 kB / 2.427 GB, free: 73.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/6.539, allocations: 23.91 kB / 2.427 GB, free: 73.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/6.541, allocations: 306.4 kB / 2.428 GB, free: 72.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/6.541, allocations: 19.94 kB / 2.428 GB, free: 72.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/6.545, allocations: 176.2 kB / 2.428 GB, free: 72.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/6.545, allocations: 66.72 kB / 2.428 GB, free: 72.53 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003956/6.545, allocations: 146.7 kB / 2.428 GB, free: 72.38 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/6.546, allocations: 169.8 kB / 2.428 GB, free: 72.21 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/6.551, allocations: 1.171 MB / 2.429 GB, free: 71.07 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/6.551, allocations: 8 kB / 2.429 GB, free: 71.07 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/6.551, allocations: 6.531 kB / 2.429 GB, free: 71.06 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00258/6.553, allocations: 0.9911 MB / 2.43 GB, free: 70 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007797/6.561, allocations: 2.279 MB / 2.433 GB, free: 67.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/6.561, allocations: 0 / 2.433 GB, free: 67.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/6.563, allocations: 185.1 kB / 2.433 GB, free: 67.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/6.563, allocations: 7.906 kB / 2.433 GB, free: 67.51 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/6.563, allocations: 19.97 kB / 2.433 GB, free: 67.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/6.563, allocations: 4 kB / 2.433 GB, free: 67.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/6.563, allocations: 0 / 2.433 GB, free: 67.49 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004234/6.568, allocations: 1.523 MB / 2.434 GB, free: 65.94 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006157/6.574, allocations: 2.471 MB / 2.437 GB, free: 63.43 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/6.575, allocations: 349.5 kB / 2.437 GB, free: 63.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009228/6.576, allocations: 11.98 kB / 2.437 GB, free: 63.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/6.579, allocations: 115.7 kB / 2.437 GB, free: 62.96 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/6.58, allocations: 54.66 kB / 2.437 GB, free: 62.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/6.58, allocations: 35.97 kB / 2.437 GB, free: 62.88 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001941/6.582, allocations: 0.8809 MB / 2.438 GB, free: 62 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00921/6.591, allocations: 1.369 MB / 2.439 GB, free: 60.63 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002969/6.594, allocations: 1.172 MB / 2.441 GB, free: 59.68 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004005/6.598, allocations: 1.564 MB / 2.442 GB, free: 58.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/6.598, allocations: 0 / 2.442 GB, free: 58.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/6.599, allocations: 414.3 kB / 2.443 GB, free: 57.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/6.605, allocations: 0.6834 MB / 2.443 GB, free: 57.06 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/6.617, allocations: 2.794 MB / 2.446 GB, free: 54.28 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/6.619, allocations: 1.59 MB / 2.448 GB, free: 52.67 MB / 0.9323 GB Notification: Performance of SimCode: time 1.282e-06/6.619, allocations: 8 kB / 2.448 GB, free: 52.66 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)