Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",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 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009792/0.0009794, allocations: 181.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009516/0.0009518, allocations: 105.5 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3607/0.3617, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.5344, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5547/1.089, allocations: 136.1 MB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.09, allocations: 91.62 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01848/1.108, allocations: 7.625 MB / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.108, allocations: 8 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/1.108, allocations: 51.44 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/1.109, allocations: 335.4 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/1.109, allocations: 23.3 kB / 1.025 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/1.109, allocations: 35.94 kB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006392/1.109, allocations: 380.5 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/1.11, allocations: 439.2 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/1.11, allocations: 7.938 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/1.11, allocations: 2.812 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/1.11, allocations: 21 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/1.112, allocations: 1.3 MB / 1.028 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/1.112, allocations: 330.7 kB / 1.028 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/1.113, allocations: 176.3 kB / 1.028 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/1.113, allocations: 8.438 kB / 1.028 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/1.113, allocations: 211.7 kB / 1.028 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.014e-06/1.113, allocations: 4 kB / 1.028 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0005489/1.114, allocations: 317 kB / 1.029 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.114, allocations: 67.14 kB / 1.029 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/1.114, allocations: 215.2 kB / 1.029 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/1.114, allocations: 47.94 kB / 1.029 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/1.114, allocations: 181.4 kB / 1.029 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/1.114, allocations: 120.7 kB / 1.029 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/1.114, allocations: 0 / 1.029 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.114, allocations: 344.5 kB / 1.03 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/1.115, allocations: 161.2 kB / 1.03 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/1.115, allocations: 226.2 kB / 1.03 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/1.115, allocations: 148.8 kB / 1.03 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.115, allocations: 0 / 1.03 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006567/1.116, allocations: 453 kB / 1.03 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.116, allocations: 7.938 kB / 1.03 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.116, allocations: 0 / 1.03 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.116, allocations: 11.98 kB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/1.116, allocations: 71.88 kB / 1.031 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.116, allocations: 7.984 kB / 1.031 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/1.117, allocations: 79.78 kB / 1.031 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/1.117, allocations: 23.84 kB / 1.031 GB, free: 7.422 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001429/1.117, allocations: 159.3 kB / 1.031 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/1.117, allocations: 35.62 kB / 1.031 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006625/1.117, allocations: 382.7 kB / 1.031 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.117, allocations: 7.938 kB / 1.031 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.118, allocations: 4 kB / 1.031 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.118, allocations: 7.922 kB / 1.031 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/1.119, allocations: 0.9503 MB / 1.032 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.119, allocations: 4 kB / 1.032 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/1.119, allocations: 54.03 kB / 1.032 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.119, allocations: 4 kB / 1.032 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.119, allocations: 7.891 kB / 1.032 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.119, allocations: 4 kB / 1.032 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.119, allocations: 0 / 1.032 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005811/1.12, allocations: 454.6 kB / 1.033 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000674/1.12, allocations: 0.8183 MB / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/1.121, allocations: 112.6 kB / 1.034 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/1.121, allocations: 7.25 kB / 1.034 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/1.121, allocations: 51.95 kB / 1.034 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.121, allocations: 70.77 kB / 1.034 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/1.121, allocations: 22.67 kB / 1.034 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.291e-05/1.121, allocations: 133.4 kB / 1.034 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009234/1.122, allocations: 83.89 kB / 1.034 GB, free: 4.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002203/1.122, allocations: 142.5 kB / 1.034 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006143/1.123, allocations: 436 kB / 1.034 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.123, allocations: 0 / 1.034 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/1.123, allocations: 212.8 kB / 1.035 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/1.124, allocations: 26.67 kB / 1.035 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.125, allocations: 0.5082 MB / 1.035 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/1.125, allocations: 0.8685 MB / 1.036 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/1.125, allocations: 0 / 1.036 GB, free: 2.566 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)