Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.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.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_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 10.0.0-master/package.mo): time 1.821/1.821, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009101/0.0009101, allocations: 181.2 kB / 490.8 MB, free: 1.938 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.122/1.122, allocations: 221.4 MB / 0.7863 GB, free: 13.79 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.0008159/0.0008159, allocations: 88.67 kB / 0.9264 GB, free: 14.33 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4107/0.4116, allocations: 149.2 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.6, allocations: 143 MB / 1.212 GB, free: 21.85 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.525/1.125, allocations: 151.6 MB / 1.36 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/1.125, allocations: 67.89 kB / 1.36 GB, free: 1.555 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.02264/1.148, allocations: 9.893 MB / 1.369 GB, free: 9.012 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/1.148, allocations: 8 kB / 1.369 GB, free: 9.004 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/1.148, allocations: 83.06 kB / 1.37 GB, free: 8.922 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/1.148, allocations: 377.9 kB / 1.37 GB, free: 8.57 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/1.149, allocations: 28 kB / 1.37 GB, free: 8.543 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/1.149, allocations: 44 kB / 1.37 GB, free: 8.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006099/1.149, allocations: 368.7 kB / 1.37 GB, free: 8.281 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/1.15, allocations: 440 kB / 1.371 GB, free: 7.965 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.15, allocations: 0 / 1.371 GB, free: 7.965 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/1.15, allocations: 0 / 1.371 GB, free: 7.965 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/1.15, allocations: 16 kB / 1.371 GB, free: 7.949 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/1.152, allocations: 1.437 MB / 1.372 GB, free: 6.816 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/1.152, allocations: 320.1 kB / 1.372 GB, free: 6.598 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/1.153, allocations: 153.1 kB / 1.373 GB, free: 6.504 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/1.153, allocations: 8.359 kB / 1.373 GB, free: 6.496 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/1.153, allocations: 252 kB / 1.373 GB, free: 6.289 MB / 0.823 GB Notification: Performance of pre-optimization done (n=48): time 1.593e-06/1.153, allocations: 0 / 1.373 GB, free: 6.289 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.0005148/1.153, allocations: 297.8 kB / 1.373 GB, free: 6.055 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.153, allocations: 114.8 kB / 1.373 GB, free: 5.918 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/1.154, allocations: 265.2 kB / 1.374 GB, free: 5.707 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/1.154, allocations: 47.56 kB / 1.374 GB, free: 5.664 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/1.154, allocations: 243.4 kB / 1.374 GB, free: 5.445 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/1.154, allocations: 133.3 kB / 1.374 GB, free: 5.332 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/1.154, allocations: 0 / 1.374 GB, free: 5.332 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.154, allocations: 347.7 kB / 1.374 GB, free: 5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/1.154, allocations: 157.1 kB / 1.374 GB, free: 4.914 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/1.155, allocations: 278.7 kB / 1.375 GB, free: 4.676 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/1.155, allocations: 134.1 kB / 1.375 GB, free: 4.578 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.155, allocations: 4 kB / 1.375 GB, free: 4.574 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007142/1.156, allocations: 416.7 kB / 1.375 GB, free: 4.262 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.156, allocations: 4 kB / 1.375 GB, free: 4.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.156, allocations: 0 / 1.375 GB, free: 4.258 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.156, allocations: 4 kB / 1.375 GB, free: 4.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/1.156, allocations: 66.72 kB / 1.375 GB, free: 4.195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.156, allocations: 7.906 kB / 1.375 GB, free: 4.188 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/1.157, allocations: 163.7 kB / 1.375 GB, free: 4.027 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/1.157, allocations: 23.67 kB / 1.375 GB, free: 4.008 MB / 0.823 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 0.0001147/1.157, allocations: 128.5 kB / 1.376 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/1.157, allocations: 35.53 kB / 1.376 GB, free: 3.844 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/1.157, allocations: 311 kB / 1.376 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.157, allocations: 4 kB / 1.376 GB, free: 3.617 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.157, allocations: 3.938 kB / 1.376 GB, free: 3.613 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.157, allocations: 3.984 kB / 1.376 GB, free: 3.609 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/1.158, allocations: 0.6833 MB / 1.377 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.158, allocations: 4 kB / 1.377 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.158, allocations: 51.3 kB / 1.377 GB, free: 2.945 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.158, allocations: 0 / 1.377 GB, free: 2.945 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/1.158, allocations: 7.984 kB / 1.377 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.158, allocations: 4 kB / 1.377 GB, free: 2.934 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.158, allocations: 0 / 1.377 GB, free: 2.934 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004308/1.159, allocations: 376.1 kB / 1.377 GB, free: 2.602 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005064/1.159, allocations: 0.7306 MB / 1.378 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/1.159, allocations: 115 kB / 1.378 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/1.159, allocations: 18.92 kB / 1.378 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/1.16, allocations: 75.98 kB / 1.378 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.16, allocations: 112.3 kB / 1.378 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/1.16, allocations: 19.92 kB / 1.378 GB, free: 1.578 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001312/1.16, allocations: 176.8 kB / 1.378 GB, free: 1.438 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000883/1.161, allocations: 119.5 kB / 1.378 GB, free: 1.32 MB / 0.823 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.000179/1.161, allocations: 152.8 kB / 1.378 GB, free: 1.168 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005476/1.162, allocations: 392.4 kB / 1.379 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/1.162, allocations: 0 / 1.379 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/1.162, allocations: 200.3 kB / 1.379 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/1.162, allocations: 34.47 kB / 1.379 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.163, allocations: 0.5795 MB / 1.38 GB, free: 220 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/1.164, allocations: 0.9254 MB / 1.381 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.164, allocations: 0 / 1.381 GB, free: 15.27 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat does not exist to compare? outputFormat=mat