Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.752/1.752, allocations: 390.4 MB / 397.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 180.9 kB / 490.8 MB, free: 11.2 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.113/1.113, allocations: 221.4 MB / 0.7863 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 83.3 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2406/0.2417, allocations: 149.2 MB / 1.072 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.794, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.9596, allocations: 150.8 MB / 1.359 GB, free: 40.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.9598, allocations: 80.69 kB / 1.359 GB, free: 40.65 MB / 0.8855 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.01013/0.97, allocations: 4.554 MB / 1.364 GB, free: 36.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.97, allocations: 8 kB / 1.364 GB, free: 36.11 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.9701, allocations: 39.47 kB / 1.364 GB, free: 36.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9702, allocations: 211.6 kB / 1.364 GB, free: 35.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.9703, allocations: 12 kB / 1.364 GB, free: 35.81 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.9703, allocations: 17.16 kB / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003271/0.9706, allocations: 195.1 kB / 1.364 GB, free: 35.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.971, allocations: 220.8 kB / 1.364 GB, free: 35.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.971, allocations: 4.562 kB / 1.364 GB, free: 35.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.971, allocations: 0 / 1.364 GB, free: 35.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9711, allocations: 8.688 kB / 1.364 GB, free: 35.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.9721, allocations: 0.7875 MB / 1.365 GB, free: 34.55 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.9724, allocations: 203 kB / 1.365 GB, free: 34.35 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.9725, allocations: 101.3 kB / 1.365 GB, free: 34.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.9726, allocations: 7.938 kB / 1.365 GB, free: 34.24 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.9726, allocations: 35.78 kB / 1.365 GB, free: 34.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.9726, allocations: 1.125 kB / 1.365 GB, free: 34.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0003333/0.973, allocations: 181.4 kB / 1.365 GB, free: 34.01 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.973, allocations: 63.33 kB / 1.366 GB, free: 33.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.9731, allocations: 163.2 kB / 1.366 GB, free: 33.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.9731, allocations: 26.86 kB / 1.366 GB, free: 33.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.9732, allocations: 164.2 kB / 1.366 GB, free: 33.58 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.9732, allocations: 67.86 kB / 1.366 GB, free: 33.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.9732, allocations: 0 / 1.366 GB, free: 33.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.9733, allocations: 331.8 kB / 1.366 GB, free: 33.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.9734, allocations: 60 kB / 1.366 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.9735, allocations: 56 kB / 1.366 GB, free: 33.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.9736, allocations: 58 kB / 1.366 GB, free: 33.01 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.9736, allocations: 0.7812 kB / 1.366 GB, free: 33.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002586/0.9738, allocations: 190.4 kB / 1.367 GB, free: 32.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9739, allocations: 4.625 kB / 1.367 GB, free: 32.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9739, allocations: 0.8438 kB / 1.367 GB, free: 32.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9739, allocations: 4 kB / 1.367 GB, free: 32.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.9742, allocations: 42.41 kB / 1.367 GB, free: 32.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.9742, allocations: 6 kB / 1.367 GB, free: 32.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.9743, allocations: 25.42 kB / 1.367 GB, free: 32.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.9743, allocations: 12.48 kB / 1.367 GB, free: 32.73 MB / 0.8855 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 6.694e-05/0.9744, allocations: 109.5 kB / 1.367 GB, free: 32.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.9745, allocations: 20.25 kB / 1.367 GB, free: 32.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.9748, allocations: 205.8 kB / 1.367 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9748, allocations: 6.344 kB / 1.367 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.9748, allocations: 0 / 1.367 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9748, allocations: 0.5 kB / 1.367 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.9751, allocations: 306.4 kB / 1.367 GB, free: 32.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9751, allocations: 0 / 1.367 GB, free: 32.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.9753, allocations: 42.53 kB / 1.367 GB, free: 32.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9753, allocations: 4 kB / 1.367 GB, free: 32.01 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.9753, allocations: 0 / 1.367 GB, free: 32.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9753, allocations: 3.203 kB / 1.367 GB, free: 32.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.9754, allocations: 0 / 1.367 GB, free: 32.01 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002832/0.9756, allocations: 298.6 kB / 1.368 GB, free: 31.71 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003167/0.976, allocations: 0.6636 MB / 1.368 GB, free: 31.03 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.976, allocations: 101.6 kB / 1.368 GB, free: 30.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.9761, allocations: 3.984 kB / 1.368 GB, free: 30.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.9762, allocations: 10.03 kB / 1.368 GB, free: 30.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.9763, allocations: 27.95 kB / 1.368 GB, free: 30.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.9763, allocations: 11.28 kB / 1.368 GB, free: 30.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.392e-05/0.9764, allocations: 126.1 kB / 1.369 GB, free: 30.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008956/0.9773, allocations: 63.67 kB / 1.369 GB, free: 30.68 MB / 0.8855 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.0001432/0.9775, allocations: 112.2 kB / 1.369 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.9778, allocations: 168.4 kB / 1.369 GB, free: 30.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9778, allocations: 0.7188 kB / 1.369 GB, free: 30.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.9779, allocations: 99.92 kB / 1.369 GB, free: 30.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.9782, allocations: 9.594 kB / 1.369 GB, free: 30.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.9789, allocations: 317.1 kB / 1.369 GB, free: 29.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.9792, allocations: 0.7937 MB / 1.37 GB, free: 29.14 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.9792, allocations: 0.6562 kB / 1.37 GB, free: 29.14 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat