Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.819/1.819, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009639/0.000964, allocations: 178.4 kB / 490.8 MB, free: 1.926 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.153/1.153, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 85.86 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4238/0.4247, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.6068, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5351/1.142, allocations: 157.5 MB / 1.365 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.142, allocations: 97.88 kB / 1.366 GB, free: 17.44 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02557/1.168, allocations: 10.37 MB / 1.376 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/1.168, allocations: 9.062 kB / 1.376 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/1.168, allocations: 48.27 kB / 1.376 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/1.168, allocations: 384 kB / 1.376 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/1.169, allocations: 16.77 kB / 1.376 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/1.169, allocations: 21.95 kB / 1.376 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004819/1.169, allocations: 248.4 kB / 1.376 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/1.17, allocations: 345.4 kB / 1.377 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.17, allocations: 0.5156 kB / 1.377 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/1.17, allocations: 1.641 kB / 1.377 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.17, allocations: 17.17 kB / 1.377 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/1.171, allocations: 1.048 MB / 1.378 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/1.172, allocations: 272.3 kB / 1.378 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/1.172, allocations: 123.2 kB / 1.378 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/1.172, allocations: 9.641 kB / 1.378 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/1.172, allocations: 193.3 kB / 1.378 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/1.172, allocations: 0 / 1.378 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0005037/1.173, allocations: 272 kB / 1.379 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/1.173, allocations: 114 kB / 1.379 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/1.173, allocations: 344.5 kB / 1.379 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/1.173, allocations: 36.61 kB / 1.379 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/1.173, allocations: 165.3 kB / 1.379 GB, free: 31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/1.173, allocations: 93 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/1.173, allocations: 1.531 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.174, allocations: 357.9 kB / 1.38 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/1.174, allocations: 116 kB / 1.38 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/1.174, allocations: 215.4 kB / 1.38 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/1.174, allocations: 124.4 kB / 1.38 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.174, allocations: 1.156 kB / 1.38 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005845/1.175, allocations: 376.7 kB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.175, allocations: 5.375 kB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.175, allocations: 6.797 kB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.175, allocations: 8.125 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/1.175, allocations: 67.8 kB / 1.381 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.175, allocations: 8.594 kB / 1.381 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/1.175, allocations: 62.02 kB / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/1.176, allocations: 23.11 kB / 1.381 GB, free: 30.42 MB / 0.8386 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.0001236/1.176, allocations: 138.6 kB / 1.381 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/1.176, allocations: 37.84 kB / 1.381 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/1.176, allocations: 317.6 kB / 1.381 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.176, allocations: 4.656 kB / 1.381 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.176, allocations: 8 kB / 1.381 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.176, allocations: 3.109 kB / 1.381 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/1.178, allocations: 0.8359 MB / 1.382 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.178, allocations: 3.906 kB / 1.382 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/1.178, allocations: 52.48 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.178, allocations: 2.703 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/1.178, allocations: 4.797 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.178, allocations: 1.156 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.178, allocations: 0 / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005346/1.178, allocations: 391.5 kB / 1.382 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006181/1.179, allocations: 0.7612 MB / 1.383 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/1.179, allocations: 123.9 kB / 1.383 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/1.179, allocations: 10.83 kB / 1.383 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/1.179, allocations: 43.11 kB / 1.383 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.18, allocations: 63.14 kB / 1.383 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/1.18, allocations: 20.23 kB / 1.383 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002258/1.18, allocations: 251.2 kB / 1.384 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001137/1.181, allocations: 103.2 kB / 1.384 GB, free: 28.96 MB / 0.8386 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.0006614/1.182, allocations: 358.5 kB / 1.384 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005167/1.182, allocations: 351.6 kB / 1.384 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.182, allocations: 1.281 kB / 1.384 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/1.183, allocations: 160.3 kB / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/1.183, allocations: 54.14 kB / 1.385 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/1.184, allocations: 0.5135 MB / 1.385 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/1.184, allocations: 0.8792 MB / 1.386 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.184, allocations: 0 / 1.386 GB, free: 27.68 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)