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_VOut_flow.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_VOut_flow,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow",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.267/2.267, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001765/0.001765, allocations: 177.2 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001368/0.001368, allocations: 94.58 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5191/0.5206, allocations: 112.5 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.741, allocations: 106.2 MB / 0.8836 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/1.474, allocations: 136.2 MB / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.474, allocations: 79.62 kB / 1.017 GB, free: 3.984 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.03943/1.514, allocations: 8.239 MB / 1.025 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.514, allocations: 8 kB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/1.514, allocations: 67.23 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/1.515, allocations: 371.6 kB / 1.025 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.515, allocations: 12 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-05/1.515, allocations: 28 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009486/1.516, allocations: 286.4 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/1.517, allocations: 375.8 kB / 1.026 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/1.517, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/1.517, allocations: 4 kB / 1.026 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.517, allocations: 11.94 kB / 1.026 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/1.52, allocations: 1.319 MB / 1.027 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/1.521, allocations: 257 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/1.522, allocations: 115 kB / 1.027 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/1.522, allocations: 8.141 kB / 1.027 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/1.522, allocations: 181.1 kB / 1.028 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=28): time 3.006e-06/1.522, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.0007203/1.523, allocations: 222.6 kB / 1.028 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/1.523, allocations: 136.2 kB / 1.028 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/1.523, allocations: 274.1 kB / 1.028 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/1.524, allocations: 25.7 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/1.524, allocations: 213.1 kB / 1.028 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/1.524, allocations: 84.53 kB / 1.029 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/1.524, allocations: 0 / 1.029 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.524, allocations: 350.2 kB / 1.029 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/1.524, allocations: 76.31 kB / 1.029 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/1.525, allocations: 137.4 kB / 1.029 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/1.525, allocations: 94.17 kB / 1.029 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.525, allocations: 0 / 1.029 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007916/1.526, allocations: 265.2 kB / 1.029 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/1.526, allocations: 181.2 kB / 1.03 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.526, allocations: 0 / 1.03 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/1.526, allocations: 4 kB / 1.03 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/1.527, allocations: 58.56 kB / 1.03 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.527, allocations: 15.92 kB / 1.03 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/1.528, allocations: 47.81 kB / 1.03 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/1.528, allocations: 10.78 kB / 1.03 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.528, allocations: 6.656 kB / 1.03 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008722/1.529, allocations: 182.8 kB / 1.03 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.529, allocations: 4 kB / 1.03 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.529, allocations: 3.984 kB / 1.03 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/1.529, allocations: 55.95 kB / 1.03 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.529, allocations: 0 / 1.03 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/1.53, allocations: 39.81 kB / 1.03 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/1.53, allocations: 11.94 kB / 1.03 GB, free: 8.574 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,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 (33): * Single equations (assignments): 33 * 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.000258/1.53, allocations: 111 kB / 1.03 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.531, allocations: 31.53 kB / 1.03 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/1.532, allocations: 264.9 kB / 1.03 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.532, allocations: 7.938 kB / 1.03 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.532, allocations: 7.984 kB / 1.03 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/1.532, allocations: 0 / 1.03 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/1.534, allocations: 0.8391 MB / 1.031 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.535, allocations: 4 kB / 1.031 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/1.535, allocations: 67.2 kB / 1.031 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.318e-05/1.535, allocations: 4 kB / 1.031 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/1.535, allocations: 3.906 kB / 1.031 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/1.535, allocations: 4 kB / 1.031 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.535, allocations: 8.062 kB / 1.031 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001696/1.537, allocations: 0.6469 MB / 1.032 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002287/1.539, allocations: 1.126 MB / 1.033 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/1.54, allocations: 154.4 kB / 1.033 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.54, allocations: 4 kB / 1.033 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/1.541, allocations: 32.03 kB / 1.033 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.541, allocations: 23.47 kB / 1.033 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/1.541, allocations: 11.44 kB / 1.033 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003824/1.541, allocations: 216 kB / 1.033 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00278/1.544, allocations: 143.2 kB / 1.034 GB, free: 5.301 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 3 ($whenCondition1,damLim.and3.y,damLim.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0002567/1.544, allocations: 111.1 kB / 1.034 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.545, allocations: 339.6 kB / 1.034 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.545, allocations: 0 / 1.034 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/1.546, allocations: 111.7 kB / 1.034 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/1.547, allocations: 126.4 kB / 1.034 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/1.55, allocations: 0.5568 MB / 1.035 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.551, allocations: 0.8766 MB / 1.036 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/1.551, allocations: 0 / 1.036 GB, free: 3.344 MB / 0.6511 GB