Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",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 7.0.1/package.mo): time 2.382/2.382, allocations: 248.6 MB / 255.9 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002632/0.002632, allocations: 188.1 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.2 MB / 0.5658 GB, free: 280 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001363/0.001362, allocations: 85.62 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5944/0.5958, allocations: 112.5 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.839, allocations: 106.2 MB / 0.8836 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7948/1.634, allocations: 136.7 MB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004425/1.634, allocations: 89.67 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.1151/1.75, allocations: 22.98 MB / 1.04 GB, free: 172 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/1.75, allocations: 8 kB / 1.04 GB, free: 164 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.751, allocations: 174 kB / 1.04 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/1.755, allocations: 0.8597 MB / 1.041 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/1.756, allocations: 44 kB / 1.041 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006171/1.756, allocations: 83.98 kB / 1.041 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00499/1.761, allocations: 0.8349 MB / 1.042 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005646/1.767, allocations: 1.053 MB / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.886e-05/1.767, allocations: 0 / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/1.767, allocations: 4 kB / 1.043 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/1.767, allocations: 32 kB / 1.043 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/1.783, allocations: 3.685 MB / 1.046 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/1.786, allocations: 0.7348 MB / 1.047 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/1.788, allocations: 348.8 kB / 1.047 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/1.788, allocations: 12.81 kB / 1.047 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/1.79, allocations: 452.4 kB / 1.048 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=84): time 6.352e-06/1.79, allocations: 0 / 1.048 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of matching and sorting (n=84): time 0.003067/1.793, allocations: 0.617 MB / 1.048 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002648/1.793, allocations: 353.3 kB / 1.049 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/1.795, allocations: 0.6202 MB / 1.049 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/1.796, allocations: 29.7 kB / 1.049 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/1.796, allocations: 494.4 kB / 1.05 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005876/1.797, allocations: 264.6 kB / 1.05 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.797, allocations: 4 kB / 1.05 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002521/1.797, allocations: 336 kB / 1.05 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/1.798, allocations: 232.5 kB / 1.051 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/1.8, allocations: 420.4 kB / 1.051 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/1.801, allocations: 266.7 kB / 1.051 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.801, allocations: 4 kB / 1.051 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003391/1.805, allocations: 0.6978 MB / 1.052 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005364/1.805, allocations: 0.8034 MB / 1.053 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.805, allocations: 4 kB / 1.053 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/1.805, allocations: 4 kB / 1.053 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/1.808, allocations: 199.3 kB / 1.053 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/1.808, allocations: 7.984 kB / 1.053 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/1.81, allocations: 147 kB / 1.053 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/1.811, allocations: 23.38 kB / 1.053 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.811, allocations: 4 kB / 1.053 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002622/1.813, allocations: 0.5671 MB / 1.054 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.813, allocations: 4 kB / 1.054 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/1.813, allocations: 4 kB / 1.054 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/1.816, allocations: 174.6 kB / 1.054 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/1.816, allocations: 7.906 kB / 1.054 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/1.818, allocations: 115.5 kB / 1.054 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/1.818, allocations: 26.88 kB / 1.054 GB, free: 4.609 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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 0.0004832/1.818, allocations: 128.7 kB / 1.054 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/1.819, allocations: 98.72 kB / 1.054 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/1.822, allocations: 0.7084 MB / 1.055 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/1.823, allocations: 15.98 kB / 1.055 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.823, allocations: 4 kB / 1.055 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/1.823, allocations: 3.984 kB / 1.055 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/1.831, allocations: 2.382 MB / 1.057 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/1.831, allocations: 8 kB / 1.057 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/1.834, allocations: 198.5 kB / 1.057 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.815e-05/1.834, allocations: 12 kB / 1.057 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.834, allocations: 8 kB / 1.057 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.767e-05/1.834, allocations: 15.94 kB / 1.057 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-05/1.834, allocations: 8 kB / 1.057 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005081/1.839, allocations: 1.838 MB / 1.059 GB, free: 140 kB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006964/1.846, allocations: 2.592 MB / 1.062 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.847, allocations: 270.3 kB / 1.062 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000358/1.848, allocations: 11.98 kB / 1.062 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/1.85, allocations: 99.83 kB / 1.062 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/1.851, allocations: 77.27 kB / 1.062 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.851, allocations: 34.86 kB / 1.062 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001483/1.852, allocations: 459 kB / 1.063 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006639/1.859, allocations: 429.5 kB / 1.063 GB, free: 12.72 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 90 * 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.00059/1.86, allocations: 140.9 kB / 1.063 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004435/1.864, allocations: 0.991 MB / 1.064 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/1.864, allocations: 0 / 1.064 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/1.866, allocations: 373.4 kB / 1.065 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.87, allocations: 330.7 kB / 1.065 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/1.876, allocations: 1.639 MB / 1.066 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/1.878, allocations: 1.257 MB / 1.068 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of SimCode: time 2.034e-06/1.878, allocations: 4 kB / 1.068 GB, free: 8.562 MB / 0.6823 GB