Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.772/1.772, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.0009483/0.0009483, allocations: 182.1 kB / 490.8 MB, free: 11.25 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.105/1.105, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0008638/0.0008638, allocations: 96.59 kB / 0.9264 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2378/0.2387, allocations: 149.2 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.7544, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.8954, allocations: 150.3 MB / 1.358 GB, free: 41.36 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.8956, allocations: 71.95 kB / 1.359 GB, free: 41.29 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.006626/0.9023, allocations: 3.241 MB / 1.362 GB, free: 38.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.9023, allocations: 13.06 kB / 1.362 GB, free: 38.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.9024, allocations: 23.7 kB / 1.362 GB, free: 38.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.9025, allocations: 190.8 kB / 1.362 GB, free: 37.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.9025, allocations: 8.781 kB / 1.362 GB, free: 37.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.9025, allocations: 12 kB / 1.362 GB, free: 37.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002025/0.9027, allocations: 121.4 kB / 1.362 GB, free: 37.65 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.903, allocations: 143.4 kB / 1.362 GB, free: 37.51 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.903, allocations: 3.984 kB / 1.362 GB, free: 37.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.903, allocations: 4.5 kB / 1.362 GB, free: 37.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.903, allocations: 7.906 kB / 1.362 GB, free: 37.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.9037, allocations: 0.5464 MB / 1.363 GB, free: 36.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.9038, allocations: 112.2 kB / 1.363 GB, free: 36.79 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.9039, allocations: 45.8 kB / 1.363 GB, free: 36.74 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.9039, allocations: 80 / 1.363 GB, free: 36.74 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.904, allocations: 43.53 kB / 1.363 GB, free: 36.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 8.62e-07/0.904, allocations: 0 / 1.363 GB, free: 36.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0002279/0.9042, allocations: 118.6 kB / 1.363 GB, free: 36.57 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.9042, allocations: 55.41 kB / 1.363 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.9043, allocations: 148.1 kB / 1.363 GB, free: 36.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.9043, allocations: 28.86 kB / 1.363 GB, free: 36.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.9044, allocations: 132.3 kB / 1.363 GB, free: 36.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.9044, allocations: 32.06 kB / 1.363 GB, free: 36.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.9044, allocations: 0.6875 kB / 1.363 GB, free: 36.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.9044, allocations: 331.4 kB / 1.364 GB, free: 35.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.9045, allocations: 32 kB / 1.364 GB, free: 35.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.9046, allocations: 32.56 kB / 1.364 GB, free: 35.77 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.015e-05/0.9046, allocations: 36.59 kB / 1.364 GB, free: 35.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.9046, allocations: 0 / 1.364 GB, free: 35.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001589/0.9048, allocations: 113.4 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.9048, allocations: 12.8 kB / 1.364 GB, free: 35.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9048, allocations: 1.062 kB / 1.364 GB, free: 35.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.9048, allocations: 1.156 kB / 1.364 GB, free: 35.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.905, allocations: 29.27 kB / 1.364 GB, free: 35.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.905, allocations: 0 / 1.364 GB, free: 35.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.9051, allocations: 19.33 kB / 1.364 GB, free: 35.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.9051, allocations: 0 / 1.364 GB, free: 35.56 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.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.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 (15): * Single equations (assignments): 15 * 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 4.964e-05/0.9052, allocations: 112.3 kB / 1.364 GB, free: 35.45 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.9052, allocations: 12.5 kB / 1.364 GB, free: 35.44 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.9053, allocations: 21.14 kB / 1.364 GB, free: 35.42 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9053, allocations: 4 kB / 1.364 GB, free: 35.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9053, allocations: 1.156 kB / 1.364 GB, free: 35.42 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9053, allocations: 1.625 kB / 1.364 GB, free: 35.42 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.9055, allocations: 238 kB / 1.364 GB, free: 35.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.9055, allocations: 0.7188 kB / 1.364 GB, free: 35.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.9056, allocations: 33.56 kB / 1.364 GB, free: 35.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9056, allocations: 10.44 kB / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.9057, allocations: 0.5625 kB / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.9057, allocations: 4.719 kB / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9057, allocations: 0 / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001764/0.9059, allocations: 217.1 kB / 1.365 GB, free: 34.88 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001911/0.9061, allocations: 0.5903 MB / 1.365 GB, free: 34.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.9061, allocations: 89.92 kB / 1.365 GB, free: 34.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.9061, allocations: 0.6875 kB / 1.365 GB, free: 34.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.9063, allocations: 13.8 kB / 1.365 GB, free: 34.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.9063, allocations: 25.34 kB / 1.365 GB, free: 34.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.9063, allocations: 4 kB / 1.365 GB, free: 34.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.291e-05/0.9064, allocations: 108.9 kB / 1.365 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007647/0.9072, allocations: 35.84 kB / 1.365 GB, free: 33.99 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.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.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 (15): * Single equations (assignments): 15 * 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 9.964e-05/0.9073, allocations: 116.8 kB / 1.366 GB, free: 33.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.9074, allocations: 104.2 kB / 1.366 GB, free: 33.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.9075, allocations: 0 / 1.366 GB, free: 33.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.9075, allocations: 61.47 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.9077, allocations: 9.734 kB / 1.366 GB, free: 33.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.9081, allocations: 208.8 kB / 1.366 GB, free: 33.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.9083, allocations: 0.7538 MB / 1.367 GB, free: 32.69 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.9083, allocations: 0 / 1.367 GB, free: 32.69 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat