Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.815/1.815, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009546/0.0009549, allocations: 177.2 kB / 490.8 MB, free: 1.926 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.148/1.148, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 102.7 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4212/0.422, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.5985, allocations: 143 MB / 1.212 GB, free: 39.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4991/1.098, allocations: 150.7 MB / 1.359 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/1.098, allocations: 72.78 kB / 1.359 GB, free: 17.17 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.009354/1.107, allocations: 4.045 MB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/1.107, allocations: 9.656 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/1.107, allocations: 26.95 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/1.108, allocations: 278.4 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/1.108, allocations: 13.38 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/1.108, allocations: 22.34 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000265/1.108, allocations: 142.6 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/1.108, allocations: 174.6 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.108, allocations: 0.9688 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/1.108, allocations: 4 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.108, allocations: 5.594 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/1.109, allocations: 0.6618 MB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/1.11, allocations: 135.4 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/1.11, allocations: 60.52 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/1.11, allocations: 10.11 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/1.11, allocations: 35.66 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/1.11, allocations: 1.312 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.000266/1.11, allocations: 134.8 kB / 1.365 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/1.11, allocations: 54.84 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.11, allocations: 164.7 kB / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.11, allocations: 28.11 kB / 1.365 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/1.11, allocations: 140.9 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/1.11, allocations: 47.89 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/1.11, allocations: 0 / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.11, allocations: 325.8 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/1.11, allocations: 46.23 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/1.111, allocations: 57.02 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.517e-05/1.111, allocations: 36.41 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.111, allocations: 1.094 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002087/1.111, allocations: 143.1 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.111, allocations: 8.219 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.111, allocations: 2.828 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/1.111, allocations: 0 / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.111, allocations: 28.08 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.111, allocations: 1.25 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/1.111, allocations: 24.06 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/1.111, allocations: 7.625 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.889e-05/1.111, allocations: 116.1 kB / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/1.111, allocations: 14.97 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/1.111, allocations: 25.66 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.111, allocations: 2.156 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.111, allocations: 2.547 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.111, allocations: 0 / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/1.112, allocations: 264.1 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.112, allocations: 0 / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.112, allocations: 27.56 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.112, allocations: 8.875 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.112, allocations: 2.266 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.112, allocations: 1.031 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.112, allocations: 1.406 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002428/1.112, allocations: 231.2 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002991/1.112, allocations: 0.6057 MB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/1.113, allocations: 94.44 kB / 1.367 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/1.113, allocations: 5.281 kB / 1.367 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/1.113, allocations: 21.36 kB / 1.367 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/1.113, allocations: 36.81 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.113, allocations: 5.766 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.436e-05/1.113, allocations: 127.4 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008644/1.114, allocations: 47.88 kB / 1.367 GB, free: 29.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001104/1.114, allocations: 110.7 kB / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002145/1.114, allocations: 119.2 kB / 1.367 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.114, allocations: 1.188 kB / 1.367 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/1.114, allocations: 72.39 kB / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/1.114, allocations: 23.44 kB / 1.368 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/1.115, allocations: 245.9 kB / 1.368 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/1.115, allocations: 0.7744 MB / 1.369 GB, free: 29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.115, allocations: 0 / 1.369 GB, free: 29 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)