Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.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.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",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.255/2.255, 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.002423/0.002423, allocations: 192 kB / 315.1 MB, free: 4.238 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.954/1.954, allocations: 205.1 MB / 0.5658 GB, free: 276 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.002589/0.002589, allocations: 83.34 kB / 0.67 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4848/0.4875, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.7189, allocations: 106.2 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/1.436, allocations: 134.6 MB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.436, allocations: 70.95 kB / 1.015 GB, free: 5.547 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.02892/1.465, allocations: 5.178 MB / 1.02 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/1.465, allocations: 11.94 kB / 1.02 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/1.465, allocations: 35.53 kB / 1.02 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/1.466, allocations: 282.7 kB / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/1.466, allocations: 12.94 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/1.466, allocations: 15.91 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007353/1.467, allocations: 132 kB / 1.021 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/1.468, allocations: 209.1 kB / 1.021 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.468, allocations: 0 / 1.021 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/1.468, allocations: 0 / 1.021 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/1.468, allocations: 4 kB / 1.021 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/1.471, allocations: 0.9739 MB / 1.022 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/1.472, allocations: 158.8 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/1.473, allocations: 70.48 kB / 1.022 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/1.473, allocations: 4 kB / 1.022 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1.473, allocations: 50.25 kB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 4.539e-06/1.473, allocations: 0 / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005377/1.474, allocations: 143.3 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.474, allocations: 77.11 kB / 1.022 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/1.474, allocations: 208.7 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/1.474, allocations: 25.7 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/1.474, allocations: 138.9 kB / 1.023 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/1.474, allocations: 50.91 kB / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/1.474, allocations: 4 kB / 1.023 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.475, allocations: 332.2 kB / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/1.475, allocations: 47.81 kB / 1.023 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/1.475, allocations: 76.27 kB / 1.023 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/1.475, allocations: 54.92 kB / 1.023 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.475, allocations: 0 / 1.023 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005093/1.476, allocations: 167.7 kB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/1.476, allocations: 177 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.476, allocations: 4 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.476, allocations: 0 / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/1.476, allocations: 46.69 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.476, allocations: 4 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/1.476, allocations: 23.83 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/1.477, allocations: 4 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/1.477, allocations: 4 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000329/1.477, allocations: 119.9 kB / 1.024 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/1.477, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/1.477, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/1.477, allocations: 31.61 kB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/1.477, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/1.477, allocations: 19.89 kB / 1.024 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/1.477, allocations: 12.02 kB / 1.024 GB, free: 13.98 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: 1 (freProTMix.con.I.trigger_internal) * 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 0.0001143/1.478, allocations: 107.2 kB / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/1.478, allocations: 23.72 kB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.478, allocations: 20.34 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.478, allocations: 3.984 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.478, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.478, allocations: 4 kB / 1.024 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009574/1.479, allocations: 0.5165 MB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/1.479, allocations: 3.938 kB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/1.479, allocations: 31.98 kB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.479, allocations: 3.938 kB / 1.024 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/1.479, allocations: 7.984 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.479, allocations: 4 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.479, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006453/1.48, allocations: 343.4 kB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008836/1.481, allocations: 0.774 MB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/1.481, allocations: 96.77 kB / 1.026 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/1.481, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/1.481, allocations: 15.98 kB / 1.026 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/1.481, allocations: 7.984 kB / 1.026 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/1.481, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002554/1.482, allocations: 166.6 kB / 1.026 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003893/1.486, allocations: 79.75 kB / 1.026 GB, free: 12.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 0 () * 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.0003277/1.486, allocations: 111.2 kB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001027/1.487, allocations: 181.9 kB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.487, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/1.487, allocations: 60.81 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.488, allocations: 58.19 kB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.49, allocations: 300.3 kB / 1.026 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008982/1.491, allocations: 0.7846 MB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.903e-06/1.491, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.6511 GB