Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001465/0.001465, allocations: 183.9 kB / 366.3 MB, free: 2.008 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.535/1.535, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.001056/0.001056, allocations: 83.69 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2975/0.2986, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/1.046, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/2.049, allocations: 450.7 MB / 1.413 GB, free: 38.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/2.049, allocations: 100.1 kB / 1.413 GB, free: 38.21 MB / 0.823 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 3.669/5.719, allocations: 0.9889 GB / 2.402 GB, free: 145.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/5.719, allocations: 9 kB / 2.402 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/5.724, allocations: 0.803 MB / 2.403 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02453/5.748, allocations: 9.011 MB / 2.411 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/5.748, allocations: 46.66 kB / 2.411 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/5.749, allocations: 79.72 kB / 2.411 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001823/5.75, allocations: 0.9296 MB / 2.412 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/5.752, allocations: 1.229 MB / 2.414 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/5.752, allocations: 7.625 kB / 2.414 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/5.752, allocations: 6.875 kB / 2.414 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/5.752, allocations: 29.88 kB / 2.414 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/5.764, allocations: 8.288 MB / 2.422 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/5.765, allocations: 0.6766 MB / 2.422 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/5.765, allocations: 375 kB / 2.423 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005155/5.771, allocations: 2.893 MB / 2.426 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005954/5.771, allocations: 405.8 kB / 2.426 GB, free: 137.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 2.575e-06/5.771, allocations: 6.219 kB / 2.426 GB, free: 137.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.002191/5.773, allocations: 0.8529 MB / 2.427 GB, free: 137.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/5.774, allocations: 118 kB / 2.427 GB, free: 137.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/5.775, allocations: 1.176 MB / 2.428 GB, free: 136.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/5.775, allocations: 35.81 kB / 2.428 GB, free: 136.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/5.776, allocations: 0.6016 MB / 2.429 GB, free: 136.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/5.776, allocations: 232.7 kB / 2.429 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/5.776, allocations: 0 / 2.429 GB, free: 136.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/5.776, allocations: 349.6 kB / 2.429 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/5.777, allocations: 328.2 kB / 2.43 GB, free: 136.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007263/5.777, allocations: 0.7769 MB / 2.43 GB, free: 135.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/5.779, allocations: 0.5147 MB / 2.431 GB, free: 135.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/5.779, allocations: 3.656 kB / 2.431 GB, free: 135.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002535/5.781, allocations: 1.237 MB / 2.432 GB, free: 135.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009745/5.782, allocations: 4.955 MB / 2.437 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/5.782, allocations: 21.22 kB / 2.437 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/5.782, allocations: 23.28 kB / 2.437 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/5.784, allocations: 296.8 kB / 2.437 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/5.784, allocations: 22.47 kB / 2.437 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/5.786, allocations: 201 kB / 2.437 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/5.786, allocations: 68.77 kB / 2.437 GB, free: 130.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-06/5.786, allocations: 3.938 kB / 2.437 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002127/5.788, allocations: 1.006 MB / 2.438 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/5.788, allocations: 18.95 kB / 2.438 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/5.788, allocations: 27.44 kB / 2.438 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.789, allocations: 300.5 kB / 2.439 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/5.789, allocations: 23.44 kB / 2.439 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/5.791, allocations: 178.3 kB / 2.439 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/5.791, allocations: 61.23 kB / 2.439 GB, free: 130.1 MB / 0.948 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.0004021/5.792, allocations: 140.5 kB / 2.439 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/5.792, allocations: 172.8 kB / 2.439 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/5.795, allocations: 1.168 MB / 2.44 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/5.795, allocations: 10.36 kB / 2.44 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/5.795, allocations: 0 / 2.44 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001525/5.797, allocations: 0.9989 MB / 2.441 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/5.801, allocations: 2.272 MB / 2.444 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/5.801, allocations: 0 / 2.444 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/5.802, allocations: 188.5 kB / 2.444 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/5.802, allocations: 3.938 kB / 2.444 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/5.802, allocations: 23.91 kB / 2.444 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/5.802, allocations: 3.938 kB / 2.444 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/5.802, allocations: 0 / 2.444 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002848/5.805, allocations: 1.531 MB / 2.445 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003459/5.809, allocations: 2.462 MB / 2.448 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/5.81, allocations: 358 kB / 2.448 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/5.81, allocations: 6.531 kB / 2.448 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/5.811, allocations: 114.9 kB / 2.448 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/5.811, allocations: 52.17 kB / 2.448 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.241e-05/5.811, allocations: 38.33 kB / 2.448 GB, free: 127.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001361/5.813, allocations: 0.8816 MB / 2.449 GB, free: 127.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005841/5.819, allocations: 1.376 MB / 2.451 GB, free: 127.6 MB / 0.948 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.002197/5.821, allocations: 1.17 MB / 2.452 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002686/5.824, allocations: 1.565 MB / 2.453 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/5.824, allocations: 0 / 2.453 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005783/5.824, allocations: 411.4 kB / 2.454 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/5.828, allocations: 0.6811 MB / 2.454 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008178/5.836, allocations: 2.782 MB / 2.457 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/5.837, allocations: 1.608 MB / 2.459 GB, free: 125.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.243e-06/5.837, allocations: 0 / 2.459 GB, free: 125.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)