Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.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.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.851/1.851, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.001059/0.001059, allocations: 180.6 kB / 487 MB, free: 5.355 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.181/1.181, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009175/0.0009176, allocations: 105 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.43/0.431, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.6215, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.641/3.262, allocations: 1.733 GB / 2.938 GB, free: 101.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/3.263, allocations: 101.5 kB / 2.938 GB, free: 101.5 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.1346/3.397, allocations: 67.33 MB / 3.004 GB, free: 38.27 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/3.397, allocations: 8 kB / 3.004 GB, free: 38.26 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/3.398, allocations: 238.1 kB / 3.004 GB, free: 38.03 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/3.4, allocations: 0.7602 MB / 3.005 GB, free: 37.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/3.4, allocations: 43.94 kB / 3.005 GB, free: 37.18 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/3.4, allocations: 76 kB / 3.005 GB, free: 37.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001803/3.402, allocations: 1.312 MB / 3.006 GB, free: 35.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/3.403, allocations: 1.073 MB / 3.007 GB, free: 34.65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/3.403, allocations: 0 / 3.007 GB, free: 34.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/3.403, allocations: 4 kB / 3.007 GB, free: 34.65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/3.404, allocations: 42.28 kB / 3.007 GB, free: 34.61 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/3.408, allocations: 3.309 MB / 3.011 GB, free: 31.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/3.409, allocations: 0.9199 MB / 3.011 GB, free: 30.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/3.41, allocations: 389.4 kB / 3.012 GB, free: 29.92 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-05/3.41, allocations: 32.95 kB / 3.012 GB, free: 29.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006348/3.41, allocations: 0.5378 MB / 3.012 GB, free: 29.33 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 2.825e-06/3.41, allocations: 0 / 3.012 GB, free: 29.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001751/3.412, allocations: 0.8741 MB / 3.013 GB, free: 28.45 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/3.412, allocations: 252.3 kB / 3.013 GB, free: 28.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/3.413, allocations: 0.5969 MB / 3.014 GB, free: 27.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/3.413, allocations: 45.64 kB / 3.014 GB, free: 27.49 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/3.413, allocations: 372.7 kB / 3.014 GB, free: 27.12 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/3.413, allocations: 335.1 kB / 3.015 GB, free: 26.79 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/3.413, allocations: 0 / 3.015 GB, free: 26.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/3.414, allocations: 398.7 kB / 3.015 GB, free: 26.39 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/3.414, allocations: 318.6 kB / 3.015 GB, free: 26.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/3.415, allocations: 494.3 kB / 3.016 GB, free: 25.54 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/3.415, allocations: 370.3 kB / 3.016 GB, free: 25.19 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/3.415, allocations: 0 / 3.016 GB, free: 25.19 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001785/3.417, allocations: 1.002 MB / 3.017 GB, free: 24.17 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/3.417, allocations: 4 kB / 3.017 GB, free: 24.17 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/3.417, allocations: 4.078 kB / 3.017 GB, free: 24.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/3.418, allocations: 88.86 kB / 3.017 GB, free: 24.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/3.418, allocations: 191.6 kB / 3.018 GB, free: 23.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/3.42, allocations: 1.465 MB / 3.019 GB, free: 22.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/3.421, allocations: 119.3 kB / 3.019 GB, free: 22.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/3.421, allocations: 47.98 kB / 3.019 GB, free: 22.14 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.0002062/3.421, allocations: 156.8 kB / 3.019 GB, free: 21.98 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/3.421, allocations: 90.88 kB / 3.019 GB, free: 21.89 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/3.423, allocations: 1.208 MB / 3.021 GB, free: 20.67 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/3.423, allocations: 12 kB / 3.021 GB, free: 20.66 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/3.423, allocations: 0 / 3.021 GB, free: 20.66 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/3.423, allocations: 3.984 kB / 3.021 GB, free: 20.65 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/3.427, allocations: 2.339 MB / 3.023 GB, free: 18.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/3.427, allocations: 0 / 3.023 GB, free: 18.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/3.427, allocations: 175.7 kB / 3.023 GB, free: 18.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/3.428, allocations: 88.78 kB / 3.023 GB, free: 18.01 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/3.428, allocations: 15.98 kB / 3.023 GB, free: 17.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/3.429, allocations: 1.489 MB / 3.025 GB, free: 16.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/3.429, allocations: 0 / 3.025 GB, free: 16.38 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00174/3.431, allocations: 1.096 MB / 3.026 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001794/3.433, allocations: 1.499 MB / 3.027 GB, free: 13.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/3.433, allocations: 335.4 kB / 3.027 GB, free: 13.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/3.434, allocations: 0 / 3.027 GB, free: 13.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/3.434, allocations: 99.91 kB / 3.028 GB, free: 13.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/3.434, allocations: 109.1 kB / 3.028 GB, free: 13.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/3.435, allocations: 47.88 kB / 3.028 GB, free: 13.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004477/3.435, allocations: 451.1 kB / 3.028 GB, free: 12.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001787/3.437, allocations: 467.1 kB / 3.029 GB, free: 12.25 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.001381/3.438, allocations: 1.082 MB / 3.03 GB, free: 11.27 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001432/3.44, allocations: 0.9883 MB / 3.031 GB, free: 10.27 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/3.44, allocations: 8.25 kB / 3.031 GB, free: 10.27 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/3.44, allocations: 0.6118 MB / 3.031 GB, free: 9.645 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000957/3.441, allocations: 246.3 kB / 3.031 GB, free: 9.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/3.445, allocations: 1.737 MB / 3.033 GB, free: 7.641 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/3.446, allocations: 1.278 MB / 3.034 GB, free: 6.332 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/3.446, allocations: 4 kB / 3.034 GB, free: 6.328 MB / 1.151 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat