Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.805/1.805, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009994/0.0009994, allocations: 185.2 kB / 487 MB, free: 5.34 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.22/1.22, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.0008592/0.0008593, allocations: 95.42 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4308/0.4316, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.618, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/1.132, allocations: 149.5 MB / 1.351 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/1.132, allocations: 72.12 kB / 1.351 GB, free: 15.96 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.007532/1.14, allocations: 3.237 MB / 1.355 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/1.14, allocations: 9.625 kB / 1.355 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/1.14, allocations: 25.88 kB / 1.355 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/1.14, allocations: 192.6 kB / 1.355 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/1.14, allocations: 7.312 kB / 1.355 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/1.14, allocations: 10.59 kB / 1.355 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000224/1.14, allocations: 114.8 kB / 1.355 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/1.14, allocations: 148.3 kB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.14, allocations: 3.906 kB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.141, allocations: 1.062 kB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.141, allocations: 4.125 kB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/1.141, allocations: 0.5493 MB / 1.356 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/1.141, allocations: 115.1 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/1.141, allocations: 46.2 kB / 1.356 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/1.142, allocations: 1.031 kB / 1.356 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/1.142, allocations: 40.89 kB / 1.356 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/1.142, allocations: 7.938 kB / 1.356 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.00024/1.142, allocations: 110.7 kB / 1.356 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/1.142, allocations: 53.78 kB / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.733e-05/1.142, allocations: 153.9 kB / 1.356 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/1.142, allocations: 25.7 kB / 1.356 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/1.142, allocations: 121.9 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/1.142, allocations: 41.72 kB / 1.356 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/1.142, allocations: 0.875 kB / 1.356 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.267e-05/1.142, allocations: 325.9 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/1.142, allocations: 37.33 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/1.142, allocations: 33.06 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/1.142, allocations: 25.92 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.142, allocations: 2.141 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001804/1.142, allocations: 124.7 kB / 1.357 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.142, allocations: 6.359 kB / 1.357 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/1.142, allocations: 0 / 1.357 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/1.142, allocations: 0.75 kB / 1.357 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/1.143, allocations: 30.56 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.143, allocations: 1.469 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/1.143, allocations: 16.77 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/1.143, allocations: 3.938 kB / 1.357 GB, free: 14.05 MB / 0.8073 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 5.302e-05/1.143, allocations: 115.4 kB / 1.357 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/1.143, allocations: 14.31 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/1.143, allocations: 15.62 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.143, allocations: 2.516 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.143, allocations: 4.672 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.143, allocations: 1.188 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/1.143, allocations: 237.1 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.143, allocations: 0.625 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/1.143, allocations: 34.02 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.143, allocations: 0.75 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.143, allocations: 1.828 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.143, allocations: 0.6875 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.143, allocations: 1.75 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001947/1.144, allocations: 221.4 kB / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002146/1.144, allocations: 0.5819 MB / 1.358 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/1.144, allocations: 95.36 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/1.144, allocations: 1.156 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/1.144, allocations: 15.91 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/1.144, allocations: 22.53 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/1.144, allocations: 4.859 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.978e-05/1.144, allocations: 108.9 kB / 1.358 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007862/1.145, allocations: 34.55 kB / 1.358 GB, free: 12.91 MB / 0.8073 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.0001236/1.145, allocations: 119.9 kB / 1.358 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001894/1.145, allocations: 94.03 kB / 1.359 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/1.145, allocations: 7.938 kB / 1.359 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/1.145, allocations: 60.91 kB / 1.359 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/1.146, allocations: 15.14 kB / 1.359 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/1.146, allocations: 214.2 kB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.146, allocations: 0.7548 MB / 1.36 GB, free: 27.97 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.146, allocations: 3.938 kB / 1.36 GB, free: 27.96 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat