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.GroupStatus.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.GroupStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus",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.833/1.833, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009472/0.0009472, allocations: 193.2 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.145/1.145, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008893/0.0008893, allocations: 98.25 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4136/0.4145, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.5979, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5044/1.102, allocations: 154.2 MB / 1.356 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/1.103, allocations: 74.53 kB / 1.356 GB, free: 15.94 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.08344/1.186, allocations: 34.58 MB / 1.39 GB, free: 6.57 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/1.186, allocations: 8.5 kB / 1.39 GB, free: 6.562 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/1.187, allocations: 221.8 kB / 1.39 GB, free: 6.344 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/1.189, allocations: 1.182 MB / 1.391 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/1.189, allocations: 55.73 kB / 1.391 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/1.19, allocations: 147 kB / 1.391 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001642/1.191, allocations: 1.031 MB / 1.392 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/1.193, allocations: 1.435 MB / 1.394 GB, free: 3.227 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.193, allocations: 7.938 kB / 1.394 GB, free: 3.219 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/1.194, allocations: 15.97 kB / 1.394 GB, free: 3.203 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/1.194, allocations: 32 kB / 1.394 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006851/1.2, allocations: 5.503 MB / 1.399 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009046/1.201, allocations: 0.6995 MB / 1.4 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/1.202, allocations: 354 kB / 1.4 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/1.202, allocations: 15.98 kB / 1.4 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007702/1.203, allocations: 0.6077 MB / 1.401 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=90): time 2.745e-06/1.203, allocations: 0 / 1.401 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.001363/1.204, allocations: 0.8651 MB / 1.402 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.204, allocations: 317.4 kB / 1.402 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.205, allocations: 0.9889 MB / 1.403 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002233/1.206, allocations: 69.12 kB / 1.403 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/1.206, allocations: 0.5238 MB / 1.403 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/1.206, allocations: 205.1 kB / 1.404 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.206, allocations: 27.38 kB / 1.404 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.207, allocations: 358.9 kB / 1.404 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.208, allocations: 0.973 MB / 1.405 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/1.21, allocations: 1.472 MB / 1.406 GB, free: 8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/1.212, allocations: 1.092 MB / 1.407 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.212, allocations: 4 kB / 1.407 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004815/1.217, allocations: 2.543 MB / 1.41 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.217, allocations: 4 kB / 1.41 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.217, allocations: 12 kB / 1.41 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.217, allocations: 16 kB / 1.41 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/1.218, allocations: 121.3 kB / 1.41 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/1.218, allocations: 19.94 kB / 1.41 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.22, allocations: 0.6931 MB / 1.411 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/1.221, allocations: 110.4 kB / 1.411 GB, free: 4.098 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 98 ($whenCondition35,$whenCondition36,$whenCondition33,$whenCondition34,zonGroSta.yOpeWin,zonGroSta.booToInt2[1].y,zonGroSta.booToInt2[2].y,$PRE.winSta[1].y,winSta[1].y,$PRE.winSta[3].y,winSta[3].y,$PRE.winSta[2].y,winSta[2].y,$whenCondition31,$whenCondition32,$PRE.tim3.passed,tim3.passed,$PRE.tim1.passed,tim1.passed,$whenCondition29,$whenCondition30,$whenCondition27,$whenCondition28,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$PRE.lowOccHea[2].y,lowOccHea[2].y,and2[2].y,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,zonGroSta.yColZon,zonGroSta.booToInt[1].y,zonGroSta.booToInt[2].y,$PRE.lowUnoHea1[1].y,lowUnoHea1[1].y,$PRE.lowUnoHea1[3].y,lowUnoHea1[3].y,$PRE.lowUnoHea1[2].y,lowUnoHea1[2].y,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,zonGroSta.yEndSetBac,$PRE.endSetBac[1].y,endSetBac[1].y,$PRE.endSetBac[3].y,endSetBac[3].y,$PRE.endSetBac[2].y,endSetBac[2].y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,zonGroSta.uGroOcc,zonGroSta.yOccHeaHig,zonGroSta.schOcc.uTemp[2],$PRE.zonOcc1.y,zonOcc1.y,$PRE.zonOcc3.y,zonOcc3.y,$PRE.tim1.entryTime,tim1.entryTime,$PRE.tim3.entryTime,tim3.entryTime,$PRE.lowOccHea[1].y,lowOccHea[1].y,$PRE.lowOccHea[3].y,lowOccHea[3].y,and2[1].y,and2[3].y,zonGroSta.oveRidOcc.uTemp[2],zonGroSta.totZon.y,$PRE.zonGroSta.hysSetBac.y,zonGroSta.hysSetBac.y,$PRE.zonGroSta.hysSetUp.y,zonGroSta.hysSetUp.y,$PRE.zonTem3.booPul.y,zonTem3.booPul.y,zonGroSta.yEndSetUp,zonGroSta.yHotZon,zonGroSta.booToInt1[2].y,zonGroSta.booToInt1[1].y,zonGroSta.yHigOccCoo) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 15 * 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.0003343/1.221, allocations: 217.5 kB / 1.411 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/1.221, allocations: 118.6 kB / 1.411 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/1.222, allocations: 498.2 kB / 1.412 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.222, allocations: 12 kB / 1.412 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.222, allocations: 4 kB / 1.412 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.222, allocations: 7.891 kB / 1.412 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/1.224, allocations: 1.455 MB / 1.413 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.224, allocations: 0 / 1.413 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/1.224, allocations: 75.08 kB / 1.413 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.224, allocations: 8 kB / 1.413 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/1.224, allocations: 26.23 kB / 1.413 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/1.224, allocations: 11.98 kB / 1.413 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.224, allocations: 3.938 kB / 1.413 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001204/1.225, allocations: 1.111 MB / 1.414 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001283/1.227, allocations: 1.504 MB / 1.416 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/1.227, allocations: 198.2 kB / 1.416 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.227, allocations: 19.67 kB / 1.416 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/1.227, allocations: 39.95 kB / 1.416 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.228, allocations: 104.5 kB / 1.416 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/1.228, allocations: 43.53 kB / 1.416 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007393/1.228, allocations: 0.6743 MB / 1.417 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001554/1.23, allocations: 374.3 kB / 1.417 GB, free: 14.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 71 ($whenCondition1,$whenCondition2,zonGroSta.hysSetBac.y,zonGroSta.hysSetUp.y,zonTem3.booPul.y,$whenCondition3,$whenCondition4,endSetBac[2].y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,zonGroSta.yEndSetBac,endSetBac[1].y,endSetBac[3].y,$whenCondition9,$whenCondition10,lowUnoHea1[2].y,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,zonGroSta.yColZon,zonGroSta.booToInt[1].y,zonGroSta.booToInt[2].y,lowUnoHea1[1].y,lowUnoHea1[3].y,$whenCondition15,$whenCondition16,lowOccHea[2].y,and2[2].y,$whenCondition29,$whenCondition30,$whenCondition27,$whenCondition28,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,zonGroSta.uGroOcc,zonGroSta.yOccHeaHig,zonGroSta.schOcc.uTemp[2],zonOcc1.y,zonOcc3.y,tim1.passed,tim1.entryTime,tim3.passed,tim3.entryTime,lowOccHea[1].y,lowOccHea[3].y,and2[1].y,and2[3].y,$whenCondition31,$whenCondition32,winSta[2].y,$whenCondition35,$whenCondition36,$whenCondition33,$whenCondition34,zonGroSta.yOpeWin,zonGroSta.booToInt2[1].y,zonGroSta.booToInt2[2].y,winSta[1].y,winSta[3].y,zonGroSta.yHotZon) * Number of discrete states: 4 (tim3.entryTime,tim1.entryTime,zonGroSta.hysSetBac.y,zonGroSta.hysSetUp.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.0002161/1.23, allocations: 155 kB / 1.417 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002413/1.233, allocations: 2.016 MB / 1.419 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.233, allocations: 0 / 1.419 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/1.233, allocations: 485.2 kB / 1.42 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/1.234, allocations: 179.3 kB / 1.42 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/1.237, allocations: 1.969 MB / 1.422 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.238, allocations: 1.474 MB / 1.423 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of SimCode: time 3.11e-07/1.238, allocations: 0 / 1.423 GB, free: 8.863 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.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.GroupStatus_res.mat does not exist to compare? outputFormat=mat