Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",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.315/1.315, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001016/0.001016, allocations: 189.2 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9879/0.9879, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.000773/0.0007731, allocations: 90.42 kB / 0.7326 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1719/0.1727, allocations: 121.5 MB / 0.8512 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.576, allocations: 115.3 MB / 0.9638 GB, free: 77.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.7145, allocations: 145.1 MB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.7148, allocations: 88.45 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02544/0.7402, allocations: 10.18 MB / 1.115 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.7403, allocations: 16.44 kB / 1.116 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.7404, allocations: 59.31 kB / 1.116 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.7409, allocations: 363.6 kB / 1.116 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.7409, allocations: 25.61 kB / 1.116 GB, free: 184 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.741, allocations: 24 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004605/0.7415, allocations: 257.3 kB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.742, allocations: 337.4 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.742, allocations: 0 / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.7421, allocations: 0 / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.7421, allocations: 16.59 kB / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.7436, allocations: 1.049 MB / 1.118 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.7441, allocations: 267.4 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.7443, allocations: 127.2 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.7443, allocations: 7.984 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.7446, allocations: 189.5 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.7446, allocations: 0 / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0004879/0.7451, allocations: 266.7 kB / 1.118 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.7451, allocations: 114.8 kB / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.7455, allocations: 347.3 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.7455, allocations: 37.69 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.7456, allocations: 168.6 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.7457, allocations: 90.86 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.7458, allocations: 4 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7459, allocations: 350.7 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.7461, allocations: 117 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.7463, allocations: 217 kB / 1.12 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.7466, allocations: 124.7 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7466, allocations: 0 / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000574/0.7471, allocations: 366.7 kB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7472, allocations: 6.375 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.7472, allocations: 11.94 kB / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.7472, allocations: 4 kB / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.7475, allocations: 67.89 kB / 1.12 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7475, allocations: 4 kB / 1.12 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.7479, allocations: 63.64 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.7479, allocations: 20 kB / 1.12 GB, free: 11.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0001208/0.748, allocations: 138.1 kB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.7481, allocations: 48.88 kB / 1.121 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005517/0.7487, allocations: 319 kB / 1.121 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.7487, allocations: 4 kB / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.7487, allocations: 4 kB / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.7487, allocations: 0 / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.7498, allocations: 0.8379 MB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7498, allocations: 0 / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.7501, allocations: 51.91 kB / 1.122 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7501, allocations: 0 / 1.122 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.7501, allocations: 11.98 kB / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.7501, allocations: 0 / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7501, allocations: 0 / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004849/0.7506, allocations: 398.6 kB / 1.122 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005517/0.7512, allocations: 0.7646 MB / 1.123 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.7513, allocations: 118.9 kB / 1.123 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.7513, allocations: 15.89 kB / 1.123 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.7517, allocations: 39.97 kB / 1.123 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.7518, allocations: 56.47 kB / 1.123 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.7518, allocations: 19.92 kB / 1.123 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002236/0.7521, allocations: 251.1 kB / 1.123 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001018/0.7531, allocations: 99.92 kB / 1.123 GB, free: 8.176 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006144/0.7537, allocations: 361.8 kB / 1.124 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.7542, allocations: 355 kB / 1.124 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7542, allocations: 0 / 1.124 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.7545, allocations: 155.9 kB / 1.124 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.7548, allocations: 56.95 kB / 1.124 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.7558, allocations: 0.506 MB / 1.125 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.7563, allocations: 0.8706 MB / 1.126 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.7563, allocations: 0 / 1.126 GB, free: 5.949 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)