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.Overrides.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.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",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.806/1.806, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001125/0.001125, allocations: 181.3 kB / 487 MB, free: 5.367 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.195/1.195, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008719/0.0008721, allocations: 98.17 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4317/0.4326, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.6249, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5584/1.183, allocations: 149.9 MB / 1.352 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/1.184, allocations: 73.92 kB / 1.352 GB, free: 15.75 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.01101/1.195, allocations: 4.11 MB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.195, allocations: 10.5 kB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/1.195, allocations: 23.97 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.195, allocations: 196.4 kB / 1.356 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.195, allocations: 11.69 kB / 1.356 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/1.195, allocations: 13.06 kB / 1.356 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002289/1.195, allocations: 109.9 kB / 1.356 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/1.195, allocations: 169.9 kB / 1.356 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.195, allocations: 0 / 1.356 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/1.195, allocations: 0.8438 kB / 1.356 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/1.195, allocations: 8.062 kB / 1.356 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/1.196, allocations: 0.638 MB / 1.357 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/1.196, allocations: 123.3 kB / 1.357 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/1.197, allocations: 62.27 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/1.197, allocations: 5.094 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/1.197, allocations: 122.1 kB / 1.357 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/1.197, allocations: 0 / 1.357 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0003022/1.197, allocations: 144.6 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/1.197, allocations: 79.05 kB / 1.357 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/1.197, allocations: 149.3 kB / 1.358 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/1.197, allocations: 27.58 kB / 1.358 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/1.197, allocations: 119.8 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/1.197, allocations: 51.83 kB / 1.358 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/1.197, allocations: 1.438 kB / 1.358 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/1.197, allocations: 326.2 kB / 1.358 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/1.198, allocations: 56.66 kB / 1.358 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/1.198, allocations: 89.19 kB / 1.358 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/1.198, allocations: 66.02 kB / 1.358 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.198, allocations: 0.9688 kB / 1.358 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004694/1.198, allocations: 205 kB / 1.359 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/1.198, allocations: 5.156 kB / 1.359 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.198, allocations: 5.594 kB / 1.359 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.198, allocations: 1.594 kB / 1.359 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/1.199, allocations: 56.66 kB / 1.359 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.199, allocations: 5.625 kB / 1.359 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/1.199, allocations: 69.98 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/1.199, allocations: 8.781 kB / 1.359 GB, free: 13.49 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: 8 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 6.695e-05/1.199, allocations: 118.4 kB / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/1.199, allocations: 18.88 kB / 1.359 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/1.199, allocations: 17.47 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.199, allocations: 3.719 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.199, allocations: 0.8438 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.199, allocations: 1 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/1.199, allocations: 237.5 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.199, allocations: 0.7812 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/1.2, allocations: 52.91 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.2, allocations: 1 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.2, allocations: 2.156 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.2, allocations: 2.062 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.2, allocations: 4.062 kB / 1.359 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002577/1.2, allocations: 192.4 kB / 1.359 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002993/1.2, allocations: 0.5568 MB / 1.36 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/1.2, allocations: 94.12 kB / 1.36 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/1.2, allocations: 1.5 kB / 1.36 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/1.201, allocations: 31.48 kB / 1.36 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/1.201, allocations: 28.5 kB / 1.36 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/1.201, allocations: 9.094 kB / 1.36 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.372e-05/1.201, allocations: 109.4 kB / 1.36 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008613/1.202, allocations: 54.27 kB / 1.36 GB, free: 12.41 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0001434/1.202, allocations: 111.9 kB / 1.36 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003026/1.202, allocations: 171.3 kB / 1.36 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.202, allocations: 0 / 1.36 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/1.202, allocations: 74.03 kB / 1.36 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/1.202, allocations: 19.42 kB / 1.36 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/1.203, allocations: 232.4 kB / 1.361 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/1.203, allocations: 0.7521 MB / 1.361 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of SimCode: time 2.91e-07/1.203, allocations: 0 / 1.361 GB, free: 11.45 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.Overrides_res.mat does not exist to compare? outputFormat=mat