Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.808/1.808, allocations: 387.2 MB / 394.5 MB, free: 4.387 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 181.3 kB / 487 MB, free: 10.91 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 221.3 MB / 0.7819 GB, free: 3.828 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008798/0.0008799, allocations: 100.6 kB / 0.9213 GB, free: 4.926 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.3853/0.3862, allocations: 148.5 MB / 1.066 GB, free: 140.8 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.5753, allocations: 142.3 MB / 1.205 GB, free: 14.5 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5127/1.088, allocations: 149.5 MB / 1.351 GB, free: 2.336 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/1.088, allocations: 71.95 kB / 1.351 GB, free: 2.266 MB / 0.8152 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.007856/1.096, allocations: 3.24 MB / 1.355 GB, free: 15 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.096, allocations: 11.98 kB / 1.355 GB, free: 14.98 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/1.096, allocations: 23.72 kB / 1.355 GB, free: 14.96 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/1.096, allocations: 188.4 kB / 1.355 GB, free: 14.74 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/1.096, allocations: 15.98 kB / 1.355 GB, free: 14.72 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/1.096, allocations: 12 kB / 1.355 GB, free: 14.71 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002372/1.097, allocations: 116.9 kB / 1.355 GB, free: 14.6 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/1.097, allocations: 138.5 kB / 1.355 GB, free: 14.46 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.097, allocations: 7.906 kB / 1.355 GB, free: 14.45 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1.097, allocations: 0 / 1.355 GB, free: 14.45 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/1.097, allocations: 4 kB / 1.355 GB, free: 14.45 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/1.098, allocations: 0.5605 MB / 1.356 GB, free: 13.84 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/1.098, allocations: 110.6 kB / 1.356 GB, free: 13.73 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/1.098, allocations: 44.86 kB / 1.356 GB, free: 13.68 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/1.098, allocations: 0 / 1.356 GB, free: 13.68 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.098, allocations: 38.5 kB / 1.356 GB, free: 13.63 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/1.098, allocations: 0 / 1.356 GB, free: 13.63 MB / 0.8308 GB Notification: Performance of matching and sorting (n=15): time 0.0002591/1.098, allocations: 117.8 kB / 1.356 GB, free: 13.51 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/1.099, allocations: 55.41 kB / 1.356 GB, free: 13.45 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/1.099, allocations: 146.8 kB / 1.356 GB, free: 13.3 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.099, allocations: 25.7 kB / 1.356 GB, free: 13.27 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/1.099, allocations: 128.3 kB / 1.356 GB, free: 13.14 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/1.099, allocations: 39.52 kB / 1.356 GB, free: 13.1 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/1.099, allocations: 0 / 1.356 GB, free: 13.1 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/1.099, allocations: 326.8 kB / 1.357 GB, free: 12.77 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/1.099, allocations: 40 kB / 1.357 GB, free: 12.73 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/1.099, allocations: 35.66 kB / 1.357 GB, free: 12.7 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/1.099, allocations: 27.98 kB / 1.357 GB, free: 12.67 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.099, allocations: 0 / 1.357 GB, free: 12.67 MB / 0.8308 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001885/1.099, allocations: 121.4 kB / 1.357 GB, free: 12.55 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.099, allocations: 8 kB / 1.357 GB, free: 12.54 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.099, allocations: 0 / 1.357 GB, free: 12.54 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/1.099, allocations: 0 / 1.357 GB, free: 12.54 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/1.1, allocations: 31.98 kB / 1.357 GB, free: 12.51 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/1.1, allocations: 0 / 1.357 GB, free: 12.51 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/1.1, allocations: 19.89 kB / 1.357 GB, free: 12.49 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.1, allocations: 0 / 1.357 GB, free: 12.49 MB / 0.8308 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 6.625e-05/1.1, allocations: 112.9 kB / 1.357 GB, free: 12.37 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/1.1, allocations: 19.8 kB / 1.357 GB, free: 12.35 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/1.1, allocations: 16.5 kB / 1.357 GB, free: 12.34 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/1.1, allocations: 4 kB / 1.357 GB, free: 12.34 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.1, allocations: 0 / 1.357 GB, free: 12.34 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.1, allocations: 0 / 1.357 GB, free: 12.34 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/1.1, allocations: 234 kB / 1.357 GB, free: 12.07 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.1, allocations: 4 kB / 1.357 GB, free: 12.07 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/1.1, allocations: 35.97 kB / 1.357 GB, free: 12.03 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.1, allocations: 0 / 1.357 GB, free: 12.03 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.1, allocations: 0 / 1.357 GB, free: 12.03 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.1, allocations: 0 / 1.357 GB, free: 12.03 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.1, allocations: 0 / 1.357 GB, free: 12.03 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002705/1.101, allocations: 223.3 kB / 1.357 GB, free: 11.8 MB / 0.8308 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003064/1.101, allocations: 0.5971 MB / 1.358 GB, free: 11.18 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/1.101, allocations: 88.92 kB / 1.358 GB, free: 11.08 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/1.101, allocations: 0 / 1.358 GB, free: 11.08 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.101, allocations: 11.98 kB / 1.358 GB, free: 11.07 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/1.101, allocations: 23.97 kB / 1.358 GB, free: 11.04 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/1.101, allocations: 8 kB / 1.358 GB, free: 11.04 MB / 0.8308 GB Notification: Performance of sort global known variables: time 6.203e-05/1.101, allocations: 106.1 kB / 1.358 GB, free: 10.93 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.0007926/1.102, allocations: 47.77 kB / 1.358 GB, free: 10.89 MB / 0.8308 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 0.0001497/1.102, allocations: 113.4 kB / 1.358 GB, free: 10.77 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.0001871/1.102, allocations: 95.98 kB / 1.359 GB, free: 10.67 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/1.102, allocations: 0 / 1.359 GB, free: 10.67 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/1.103, allocations: 59.94 kB / 1.359 GB, free: 10.61 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.103, allocations: 23.81 kB / 1.359 GB, free: 10.59 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/1.103, allocations: 212.1 kB / 1.359 GB, free: 10.36 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/1.104, allocations: 0.7549 MB / 1.36 GB, free: 9.574 MB / 0.8308 GB Notification: Performance of SimCode: time 2.3e-07/1.104, allocations: 0 / 1.36 GB, free: 9.574 MB / 0.8308 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat