Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.818/1.818, allocations: 387.2 MB / 394.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 180.3 kB / 487 MB, free: 5.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.3 MB / 0.7819 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008906, allocations: 92.08 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4471/0.448, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.6396, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5366/1.176, allocations: 156.7 MB / 1.358 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.177, allocations: 93.03 kB / 1.358 GB, free: 15.77 MB / 0.8073 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.02447/1.201, allocations: 10.38 MB / 1.369 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/1.201, allocations: 8 kB / 1.369 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/1.201, allocations: 54.81 kB / 1.369 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/1.202, allocations: 377.9 kB / 1.369 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/1.202, allocations: 12 kB / 1.369 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/1.202, allocations: 23.98 kB / 1.369 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004328/1.202, allocations: 253.9 kB / 1.369 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/1.203, allocations: 340.9 kB / 1.37 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.203, allocations: 7.891 kB / 1.37 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/1.203, allocations: 0 / 1.37 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/1.203, allocations: 16.59 kB / 1.37 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.204, allocations: 1.035 MB / 1.371 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/1.205, allocations: 278.4 kB / 1.371 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/1.205, allocations: 122.5 kB / 1.371 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/1.205, allocations: 7.625 kB / 1.371 GB, free: 7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/1.205, allocations: 185.4 kB / 1.371 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 2.405e-06/1.205, allocations: 7.922 kB / 1.371 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.0004759/1.205, allocations: 275.7 kB / 1.371 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.206, allocations: 118.1 kB / 1.372 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/1.206, allocations: 346 kB / 1.372 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/1.206, allocations: 33.02 kB / 1.372 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/1.206, allocations: 170 kB / 1.372 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/1.206, allocations: 88.02 kB / 1.372 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/1.206, allocations: 0 / 1.372 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/1.206, allocations: 356.7 kB / 1.373 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.206, allocations: 116.7 kB / 1.373 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/1.207, allocations: 215.4 kB / 1.373 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/1.207, allocations: 131.5 kB / 1.373 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.207, allocations: 7.844 kB / 1.373 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005062/1.207, allocations: 370.1 kB / 1.373 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.207, allocations: 4 kB / 1.373 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.207, allocations: 4 kB / 1.373 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.207, allocations: 4 kB / 1.373 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/1.208, allocations: 75.77 kB / 1.373 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.208, allocations: 4 kB / 1.373 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/1.208, allocations: 59.7 kB / 1.373 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/1.208, allocations: 18.69 kB / 1.373 GB, free: 4.836 MB / 0.8073 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.0001013/1.208, allocations: 137.3 kB / 1.374 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/1.208, allocations: 39.52 kB / 1.374 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005012/1.209, allocations: 318.1 kB / 1.374 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.209, allocations: 4 kB / 1.374 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.209, allocations: 3.984 kB / 1.374 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.209, allocations: 0 / 1.374 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/1.21, allocations: 0.8429 MB / 1.375 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.21, allocations: 0 / 1.375 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.21, allocations: 50.89 kB / 1.375 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.21, allocations: 8 kB / 1.375 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/1.21, allocations: 0 / 1.375 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.21, allocations: 4 kB / 1.375 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.21, allocations: 4 kB / 1.375 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004116/1.21, allocations: 392.3 kB / 1.375 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004619/1.211, allocations: 0.7682 MB / 1.376 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/1.211, allocations: 123.9 kB / 1.376 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/1.211, allocations: 2.75 kB / 1.376 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/1.211, allocations: 47.86 kB / 1.376 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.211, allocations: 56.03 kB / 1.376 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/1.211, allocations: 15.12 kB / 1.376 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001819/1.212, allocations: 247.6 kB / 1.376 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001567/1.213, allocations: 101 kB / 1.377 GB, free: 2.094 MB / 0.8073 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.0006136/1.214, allocations: 361.1 kB / 1.377 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004484/1.214, allocations: 352.9 kB / 1.377 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.214, allocations: 0 / 1.377 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/1.214, allocations: 161.2 kB / 1.377 GB, free: 1.469 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/1.215, allocations: 62.09 kB / 1.377 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/1.216, allocations: 0.5104 MB / 1.378 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.216, allocations: 0.8681 MB / 1.379 GB, free: 68 kB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/1.216, allocations: 0 / 1.379 GB, free: 68 kB / 0.8073 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)