Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.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.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus",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.834/1.834, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.0009334/0.0009333, allocations: 180.2 kB / 487 MB, free: 5.43 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.163/1.163, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0008674/0.0008674, allocations: 107.1 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4325/0.4334, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.631, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5458/1.177, allocations: 150.7 MB / 1.352 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/1.177, allocations: 68.75 kB / 1.353 GB, free: 15.82 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.02475/1.202, allocations: 10.23 MB / 1.363 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/1.202, allocations: 12 kB / 1.363 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/1.202, allocations: 83.06 kB / 1.363 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/1.202, allocations: 384.7 kB / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.202, allocations: 20 kB / 1.363 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/1.202, allocations: 51.98 kB / 1.363 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000563/1.203, allocations: 364.1 kB / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/1.204, allocations: 443.7 kB / 1.364 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.204, allocations: 0 / 1.364 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/1.204, allocations: 0 / 1.364 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.204, allocations: 16 kB / 1.364 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/1.205, allocations: 1.47 MB / 1.365 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/1.206, allocations: 336.9 kB / 1.366 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/1.206, allocations: 164.2 kB / 1.366 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/1.206, allocations: 12.05 kB / 1.366 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/1.206, allocations: 246.6 kB / 1.366 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 1.503e-06/1.206, allocations: 0 / 1.366 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0004328/1.207, allocations: 305.3 kB / 1.366 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/1.207, allocations: 106.8 kB / 1.366 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.207, allocations: 294.1 kB / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/1.207, allocations: 40.95 kB / 1.367 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/1.207, allocations: 261.8 kB / 1.367 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/1.207, allocations: 119.8 kB / 1.367 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/1.207, allocations: 0 / 1.367 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/1.207, allocations: 356.4 kB / 1.367 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/1.208, allocations: 153.5 kB / 1.368 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/1.208, allocations: 286.8 kB / 1.368 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/1.208, allocations: 134.7 kB / 1.368 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.208, allocations: 3.938 kB / 1.368 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006378/1.209, allocations: 423.3 kB / 1.368 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/1.209, allocations: 4 kB / 1.368 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.209, allocations: 0 / 1.368 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.209, allocations: 4 kB / 1.368 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/1.209, allocations: 59.72 kB / 1.368 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.209, allocations: 4 kB / 1.368 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/1.21, allocations: 163.7 kB / 1.369 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/1.21, allocations: 26.92 kB / 1.369 GB, free: 8.535 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.uWinSta.y,uWinSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 9.901e-05/1.21, allocations: 135.5 kB / 1.369 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/1.21, allocations: 47.5 kB / 1.369 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/1.21, allocations: 310.9 kB / 1.369 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.21, allocations: 4 kB / 1.369 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.21, allocations: 3.984 kB / 1.369 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.21, allocations: 7.938 kB / 1.369 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/1.211, allocations: 0.7049 MB / 1.37 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.211, allocations: 4.062 kB / 1.37 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/1.211, allocations: 51.66 kB / 1.37 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.211, allocations: 3.938 kB / 1.37 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/1.211, allocations: 7.984 kB / 1.37 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.211, allocations: 4 kB / 1.37 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.211, allocations: 0 / 1.37 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003831/1.211, allocations: 381.4 kB / 1.37 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004364/1.212, allocations: 0.7447 MB / 1.371 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/1.212, allocations: 116.3 kB / 1.371 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/1.212, allocations: 11 kB / 1.371 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/1.212, allocations: 79.92 kB / 1.371 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.213, allocations: 108.5 kB / 1.371 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/1.213, allocations: 19.23 kB / 1.371 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001307/1.213, allocations: 198.5 kB / 1.371 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008676/1.214, allocations: 135.5 kB / 1.372 GB, free: 5.797 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,noWinZonSta.hys.y,noWinZonSta.hys1.y,noWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys3.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,witWinZonSta.hys.y,witWinZonSta.hys1.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,witWinZonSta.hys3.y,witWinZonSta.hys4.y,uWinSta.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys3.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys1.y,witWinZonSta.hys.y,noWinZonSta.hys4.y,noWinZonSta.hys3.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y,noWinZonSta.hys1.y,noWinZonSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001594/1.214, allocations: 131.3 kB / 1.372 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000528/1.214, allocations: 395.4 kB / 1.372 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.214, allocations: 0 / 1.372 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/1.215, allocations: 211.1 kB / 1.372 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/1.215, allocations: 24.53 kB / 1.372 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.216, allocations: 0.5986 MB / 1.373 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/1.216, allocations: 0.9301 MB / 1.374 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/1.216, allocations: 4 kB / 1.374 GB, free: 3.723 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat does not exist to compare? outputFormat=mat