Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.845/1.845, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009808/0.0009809, allocations: 192.4 kB / 487 MB, free: 5.418 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.414 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.0008407/0.0008407, allocations: 95.83 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4537/0.4546, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.6502, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5552/1.205, allocations: 150 MB / 1.352 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/1.206, allocations: 74.91 kB / 1.352 GB, free: 15.93 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.01135/1.217, allocations: 4.548 MB / 1.356 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.217, allocations: 10.22 kB / 1.356 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/1.217, allocations: 40.06 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/1.217, allocations: 212.8 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/1.217, allocations: 12.22 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/1.217, allocations: 17.53 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003966/1.218, allocations: 198.9 kB / 1.357 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/1.218, allocations: 225.5 kB / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.218, allocations: 5.031 kB / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/1.218, allocations: 0 / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/1.218, allocations: 7.5 kB / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/1.22, allocations: 0.7883 MB / 1.358 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/1.22, allocations: 200.5 kB / 1.358 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/1.22, allocations: 93.72 kB / 1.358 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/1.22, allocations: 12.42 kB / 1.358 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/1.22, allocations: 35.56 kB / 1.358 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/1.22, allocations: 3.984 kB / 1.358 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0003614/1.22, allocations: 186.5 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/1.22, allocations: 54.59 kB / 1.358 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/1.221, allocations: 165.7 kB / 1.359 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/1.221, allocations: 25.7 kB / 1.359 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/1.221, allocations: 163.8 kB / 1.359 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/1.221, allocations: 70.22 kB / 1.359 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.221, allocations: 0 / 1.359 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/1.221, allocations: 330.3 kB / 1.359 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/1.221, allocations: 57.38 kB / 1.359 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/1.221, allocations: 64.92 kB / 1.359 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/1.221, allocations: 50.95 kB / 1.359 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.221, allocations: 0 / 1.359 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003049/1.222, allocations: 191.2 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.222, allocations: 9.031 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.222, allocations: 4.938 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.222, allocations: 2.531 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/1.222, allocations: 40.5 kB / 1.36 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/1.222, allocations: 6.328 kB / 1.36 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/1.222, allocations: 25.25 kB / 1.36 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.222, allocations: 10.28 kB / 1.36 GB, free: 13.78 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/1.222, allocations: 104.4 kB / 1.36 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/1.222, allocations: 20.25 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/1.223, allocations: 208.8 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.223, allocations: 6.656 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.223, allocations: 4.969 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.223, allocations: 1.219 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/1.223, allocations: 303.7 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.223, allocations: 0 / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/1.223, allocations: 46.36 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/1.223, allocations: 0.9688 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.223, allocations: 6.438 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.223, allocations: 4.844 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.223, allocations: 4.703 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003502/1.224, allocations: 281.7 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003716/1.224, allocations: 0.6595 MB / 1.361 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/1.224, allocations: 103.3 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/1.224, allocations: 1.969 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.224, allocations: 12.11 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/1.224, allocations: 27.36 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/1.224, allocations: 9.875 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.019e-05/1.224, allocations: 129.1 kB / 1.361 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008442/1.225, allocations: 64.06 kB / 1.361 GB, free: 12.55 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/1.225, allocations: 114.4 kB / 1.362 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003397/1.226, allocations: 162.8 kB / 1.362 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.226, allocations: 0 / 1.362 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/1.226, allocations: 100.9 kB / 1.362 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/1.226, allocations: 11.53 kB / 1.362 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/1.227, allocations: 316.7 kB / 1.362 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/1.227, allocations: 0.7961 MB / 1.363 GB, free: 27.57 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.227, allocations: 0 / 1.363 GB, free: 27.57 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat