Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.752/1.752, allocations: 387.2 MB / 394.5 MB, free: 13.32 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.001012/0.001012, allocations: 188.7 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.14/1.14, allocations: 221.4 MB / 0.7819 GB, free: 6.816 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008544/0.0008544, allocations: 93.77 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2229/0.2237, allocations: 148.5 MB / 1.066 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.7317, allocations: 142.3 MB / 1.205 GB, free: 72.81 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.8804, allocations: 150.3 MB / 1.352 GB, free: 13 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.8806, allocations: 71.95 kB / 1.352 GB, free: 12.93 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.01433/0.895, allocations: 5.474 MB / 1.358 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.895, allocations: 12 kB / 1.358 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.8951, allocations: 43.47 kB / 1.358 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.8953, allocations: 205.1 kB / 1.358 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.8953, allocations: 8 kB / 1.358 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.8954, allocations: 20 kB / 1.358 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003292/0.8957, allocations: 173.2 kB / 1.358 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.8961, allocations: 251.5 kB / 1.358 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8961, allocations: 0 / 1.358 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.8961, allocations: 4 kB / 1.358 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.8961, allocations: 8 kB / 1.358 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.8973, allocations: 0.8913 MB / 1.359 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.8976, allocations: 203.8 kB / 1.359 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.8978, allocations: 93.86 kB / 1.359 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.8978, allocations: 0 / 1.359 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.898, allocations: 164.2 kB / 1.36 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.898, allocations: 0 / 1.36 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0003684/0.8984, allocations: 182.4 kB / 1.36 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.8984, allocations: 103.1 kB / 1.36 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.8986, allocations: 177.5 kB / 1.36 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.8986, allocations: 29.7 kB / 1.36 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.8987, allocations: 160.5 kB / 1.36 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.8987, allocations: 55.17 kB / 1.36 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.8988, allocations: 0 / 1.36 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.8989, allocations: 334.7 kB / 1.361 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.899, allocations: 80.17 kB / 1.361 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.8992, allocations: 113.7 kB / 1.361 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.8994, allocations: 84.48 kB / 1.361 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8995, allocations: 0 / 1.361 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005071/0.9, allocations: 242.3 kB / 1.361 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.9, allocations: 4 kB / 1.361 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9, allocations: 3.984 kB / 1.361 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.9, allocations: 4 kB / 1.361 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.9004, allocations: 79.86 kB / 1.361 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.9004, allocations: 3.188 kB / 1.361 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.9008, allocations: 83.86 kB / 1.361 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.9008, allocations: 16 kB / 1.361 GB, free: 3.457 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,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 (25): * Single equations (assignments): 24 * 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 8.72e-05/0.9009, allocations: 114.7 kB / 1.361 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.9009, allocations: 19.8 kB / 1.361 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.901, allocations: 29.34 kB / 1.361 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.901, allocations: 3.906 kB / 1.361 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.901, allocations: 8.625 kB / 1.361 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.901, allocations: 3.984 kB / 1.361 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.9013, allocations: 289.9 kB / 1.362 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9013, allocations: 0 / 1.362 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.9016, allocations: 73.25 kB / 1.362 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.9016, allocations: 3.984 kB / 1.362 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.9017, allocations: 4 kB / 1.362 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9017, allocations: 0 / 1.362 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9017, allocations: 3.938 kB / 1.362 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003327/0.902, allocations: 251 kB / 1.362 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004014/0.9024, allocations: 0.6314 MB / 1.363 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.9025, allocations: 88.92 kB / 1.363 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.9025, allocations: 5.234 kB / 1.363 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.9028, allocations: 43.91 kB / 1.363 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.9029, allocations: 39.86 kB / 1.363 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.9029, allocations: 11.98 kB / 1.363 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.596e-05/0.903, allocations: 132 kB / 1.363 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008224/0.9038, allocations: 67.78 kB / 1.363 GB, free: 1.523 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,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 (24): * Single equations (assignments): 23 * 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.0001386/0.9039, allocations: 111.2 kB / 1.363 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.9043, allocations: 220.2 kB / 1.363 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9043, allocations: 0 / 1.363 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.9045, allocations: 108 kB / 1.363 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.9048, allocations: 34.58 kB / 1.363 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.9055, allocations: 321.8 kB / 1.364 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/0.9059, allocations: 0.8058 MB / 1.365 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.9059, allocations: 0 / 1.365 GB, free: 15.88 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat