Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.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.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_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 10.0.0-master/package.mo): time 1.816/1.816, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001041/0.001041, allocations: 182.9 kB / 490.8 MB, free: 1.93 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.131/1.131, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0008812/0.0008812, allocations: 92.73 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4114/0.4123, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.594, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.581/3.175, allocations: 1.733 GB / 2.945 GB, free: 138.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/3.176, allocations: 99.62 kB / 2.945 GB, free: 138.4 MB / 1.151 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 0.1281/3.304, allocations: 67.33 MB / 3.011 GB, free: 70.71 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/3.304, allocations: 12 kB / 3.011 GB, free: 70.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008415/3.305, allocations: 234.1 kB / 3.011 GB, free: 70.47 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/3.306, allocations: 0.7563 MB / 3.012 GB, free: 69.67 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/3.306, allocations: 47.98 kB / 3.012 GB, free: 69.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/3.306, allocations: 72 kB / 3.012 GB, free: 69.55 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001594/3.308, allocations: 1.308 MB / 3.013 GB, free: 68.24 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/3.309, allocations: 1.061 MB / 3.014 GB, free: 67.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/3.309, allocations: 7.844 kB / 3.014 GB, free: 67.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/3.309, allocations: 7.984 kB / 3.014 GB, free: 67.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/3.309, allocations: 42.28 kB / 3.014 GB, free: 67.05 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/3.313, allocations: 3.318 MB / 3.018 GB, free: 63.67 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/3.314, allocations: 0.9187 MB / 3.019 GB, free: 62.74 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/3.315, allocations: 388.3 kB / 3.019 GB, free: 62.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/3.315, allocations: 40.94 kB / 3.019 GB, free: 62.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006036/3.315, allocations: 0.5338 MB / 3.02 GB, free: 61.77 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 2.104e-06/3.315, allocations: 4 kB / 3.02 GB, free: 61.76 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001646/3.317, allocations: 0.8624 MB / 3.02 GB, free: 60.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/3.317, allocations: 256.3 kB / 3.021 GB, free: 60.58 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/3.318, allocations: 0.6008 MB / 3.021 GB, free: 59.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/3.318, allocations: 37.64 kB / 3.021 GB, free: 59.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/3.318, allocations: 380.6 kB / 3.022 GB, free: 59.55 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/3.318, allocations: 331.2 kB / 3.022 GB, free: 59.23 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/3.318, allocations: 0 / 3.022 GB, free: 59.23 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/3.318, allocations: 402.7 kB / 3.022 GB, free: 58.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/3.319, allocations: 318.6 kB / 3.023 GB, free: 58.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/3.319, allocations: 496.9 kB / 3.023 GB, free: 57.98 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/3.32, allocations: 366.4 kB / 3.023 GB, free: 57.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/3.32, allocations: 0 / 3.023 GB, free: 57.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001706/3.321, allocations: 1.006 MB / 3.024 GB, free: 56.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/3.321, allocations: 4 kB / 3.024 GB, free: 56.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/3.321, allocations: 4.188 kB / 3.024 GB, free: 56.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/3.322, allocations: 88.78 kB / 3.024 GB, free: 56.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/3.323, allocations: 187.6 kB / 3.025 GB, free: 56.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/3.324, allocations: 1.465 MB / 3.026 GB, free: 54.74 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/3.325, allocations: 119.3 kB / 3.026 GB, free: 54.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/3.325, allocations: 43.98 kB / 3.026 GB, free: 54.58 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/3.325, allocations: 169 kB / 3.026 GB, free: 54.42 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/3.325, allocations: 94.86 kB / 3.026 GB, free: 54.32 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/3.327, allocations: 1.205 MB / 3.028 GB, free: 53.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/3.327, allocations: 16 kB / 3.028 GB, free: 53.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/3.327, allocations: 0 / 3.028 GB, free: 53.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/3.327, allocations: 7.969 kB / 3.028 GB, free: 53.08 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/3.331, allocations: 2.339 MB / 3.03 GB, free: 50.69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/3.331, allocations: 0 / 3.03 GB, free: 50.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/3.331, allocations: 175.7 kB / 3.03 GB, free: 50.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/3.332, allocations: 84.78 kB / 3.03 GB, free: 50.43 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/3.332, allocations: 19.97 kB / 3.03 GB, free: 50.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/3.333, allocations: 1.485 MB / 3.032 GB, free: 48.81 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/3.333, allocations: 0 / 3.032 GB, free: 48.81 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00176/3.335, allocations: 1.088 MB / 3.033 GB, free: 47.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001859/3.337, allocations: 1.51 MB / 3.034 GB, free: 46.17 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/3.337, allocations: 331.4 kB / 3.035 GB, free: 45.83 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/3.338, allocations: 8 kB / 3.035 GB, free: 45.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/3.338, allocations: 95.91 kB / 3.035 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/3.338, allocations: 113.1 kB / 3.035 GB, free: 45.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/3.338, allocations: 43.98 kB / 3.035 GB, free: 45.57 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004314/3.339, allocations: 447.1 kB / 3.035 GB, free: 45.13 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001796/3.341, allocations: 471 kB / 3.036 GB, free: 44.67 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001464/3.342, allocations: 1.085 MB / 3.037 GB, free: 43.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001359/3.344, allocations: 0.996 MB / 3.038 GB, free: 42.69 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/3.344, allocations: 0 / 3.038 GB, free: 42.69 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000748/3.344, allocations: 0.6199 MB / 3.038 GB, free: 42.06 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/3.345, allocations: 230.6 kB / 3.039 GB, free: 41.84 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/3.349, allocations: 1.729 MB / 3.04 GB, free: 40.08 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007572/3.35, allocations: 1.28 MB / 3.041 GB, free: 38.77 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/3.35, allocations: 0 / 3.041 GB, free: 38.77 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat