Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.861/1.861, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001171/0.001171, allocations: 185.3 kB / 487 MB, free: 5.305 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.146/1.146, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.0008189/0.000819, allocations: 101.9 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4252/0.4261, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.6168, allocations: 142.3 MB / 1.205 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5182/1.135, allocations: 149.9 MB / 1.352 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/1.135, allocations: 75.38 kB / 1.352 GB, free: 15.95 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.009655/1.145, allocations: 4.042 MB / 1.356 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/1.145, allocations: 9.062 kB / 1.356 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/1.145, allocations: 34.59 kB / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/1.145, allocations: 277 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.145, allocations: 8.219 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/1.145, allocations: 14.12 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002866/1.146, allocations: 145.3 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/1.146, allocations: 182.1 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.146, allocations: 0.7812 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/1.146, allocations: 0 / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.146, allocations: 5.781 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/1.147, allocations: 0.6585 MB / 1.357 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/1.147, allocations: 142.5 kB / 1.357 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/1.147, allocations: 63.7 kB / 1.357 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/1.147, allocations: 2.938 kB / 1.357 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/1.147, allocations: 32.92 kB / 1.357 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/1.147, allocations: 0 / 1.357 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0002766/1.148, allocations: 136.9 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/1.148, allocations: 52.94 kB / 1.357 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.148, allocations: 167.7 kB / 1.358 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/1.148, allocations: 27.2 kB / 1.358 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/1.148, allocations: 140 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/1.148, allocations: 46.23 kB / 1.358 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/1.148, allocations: 0.9688 kB / 1.358 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/1.148, allocations: 325.7 kB / 1.358 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/1.148, allocations: 43.23 kB / 1.358 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/1.148, allocations: 64.72 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/1.148, allocations: 35.36 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.148, allocations: 0.9688 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00021/1.149, allocations: 139.3 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.149, allocations: 5.125 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/1.149, allocations: 1.547 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.149, allocations: 0.7812 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/1.149, allocations: 32.34 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.149, allocations: 1.094 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/1.149, allocations: 23.95 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/1.149, allocations: 4.109 kB / 1.358 GB, free: 13.89 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: 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.024e-05/1.149, allocations: 118.5 kB / 1.359 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/1.149, allocations: 19.44 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/1.149, allocations: 18.47 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.149, allocations: 2.406 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.149, allocations: 0.75 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.149, allocations: 1.5 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.149, allocations: 261.7 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.149, allocations: 0 / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/1.15, allocations: 31.64 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.15, allocations: 0.7188 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.15, allocations: 2.25 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/1.15, allocations: 1.281 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.15, allocations: 9.422 kB / 1.359 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002257/1.15, allocations: 240.8 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002455/1.15, allocations: 0.6007 MB / 1.36 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/1.15, allocations: 94.52 kB / 1.36 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/1.15, allocations: 5.469 kB / 1.36 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/1.15, allocations: 27.52 kB / 1.36 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/1.15, allocations: 27.86 kB / 1.36 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/1.151, allocations: 7.969 kB / 1.36 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.951e-05/1.151, allocations: 126 kB / 1.36 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008039/1.151, allocations: 44.81 kB / 1.36 GB, free: 12.73 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: 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.0001228/1.152, allocations: 112.2 kB / 1.36 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002192/1.152, allocations: 118.7 kB / 1.36 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.152, allocations: 4 kB / 1.36 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/1.152, allocations: 68.02 kB / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.152, allocations: 21.47 kB / 1.36 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/1.153, allocations: 251.3 kB / 1.361 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.153, allocations: 0.7757 MB / 1.361 GB, free: 27.79 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.153, allocations: 0 / 1.361 GB, free: 27.79 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)