Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.151/2.151, allocations: 248.6 MB / 255.9 MB, free: 7.199 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.001693/0.001692, allocations: 195.5 kB / 315.1 MB, free: 4.215 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.902/1.902, allocations: 205.1 MB / 0.5658 GB, free: 252 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.001391/0.001391, allocations: 83.41 kB / 0.67 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4632/0.4646, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.6721, allocations: 106.2 MB / 0.8835 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6905/1.363, allocations: 139.7 MB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004463/1.363, allocations: 92.69 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.05577/1.419, allocations: 12.97 MB / 1.033 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.419, allocations: 11.98 kB / 1.033 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/1.419, allocations: 67.16 kB / 1.033 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/1.42, allocations: 458.5 kB / 1.033 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/1.42, allocations: 4 kB / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/1.42, allocations: 11.98 kB / 1.033 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000156/1.421, allocations: 41.48 kB / 1.033 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/1.421, allocations: 90.53 kB / 1.033 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.421, allocations: 0 / 1.033 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/1.421, allocations: 7.922 kB / 1.033 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/1.421, allocations: 0 / 1.033 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/1.422, allocations: 0.5121 MB / 1.034 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/1.423, allocations: 95.34 kB / 1.034 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/1.423, allocations: 26.67 kB / 1.034 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/1.423, allocations: 4 kB / 1.034 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/1.423, allocations: 84.66 kB / 1.034 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.155e-06/1.423, allocations: 0 / 1.034 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004405/1.423, allocations: 149.2 kB / 1.034 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.424, allocations: 106.8 kB / 1.034 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/1.425, allocations: 0.7617 MB / 1.035 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/1.425, allocations: 25.7 kB / 1.035 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/1.426, allocations: 159.7 kB / 1.035 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/1.426, allocations: 22.36 kB / 1.035 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/1.426, allocations: 0 / 1.035 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.426, allocations: 321.7 kB / 1.036 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/1.426, allocations: 22.48 kB / 1.036 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/1.426, allocations: 79.41 kB / 1.036 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/1.427, allocations: 27.8 kB / 1.036 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.427, allocations: 0 / 1.036 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004206/1.427, allocations: 158.6 kB / 1.036 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.427, allocations: 12 kB / 1.036 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.427, allocations: 80 / 1.036 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.427, allocations: 0 / 1.036 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/1.427, allocations: 15.94 kB / 1.036 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.427, allocations: 7.891 kB / 1.036 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/1.428, allocations: 7.984 kB / 1.036 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/1.428, allocations: 4 kB / 1.036 GB, free: 2.578 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: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000126/1.428, allocations: 112.9 kB / 1.036 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.428, allocations: 67.16 kB / 1.036 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/1.429, allocations: 173.7 kB / 1.036 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.429, allocations: 4.047 kB / 1.036 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.429, allocations: 3.984 kB / 1.036 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.429, allocations: 3.906 kB / 1.036 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/1.43, allocations: 362.3 kB / 1.037 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.43, allocations: 0 / 1.037 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/1.43, allocations: 15.67 kB / 1.037 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/1.43, allocations: 192 / 1.037 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/1.43, allocations: 4 kB / 1.037 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.43, allocations: 7.938 kB / 1.037 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.43, allocations: 0 / 1.037 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005459/1.431, allocations: 185.5 kB / 1.037 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005259/1.432, allocations: 0.5635 MB / 1.037 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/1.432, allocations: 151.1 kB / 1.037 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.432, allocations: 0 / 1.037 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/1.432, allocations: 7.984 kB / 1.037 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/1.432, allocations: 11.86 kB / 1.037 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/1.432, allocations: 4 kB / 1.037 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001378/1.434, allocations: 0.6238 MB / 1.038 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00152/1.435, allocations: 92.36 kB / 1.038 GB, free: 440 kB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001277/1.437, allocations: 495 kB / 1.039 GB, free: 40 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003731/1.437, allocations: 80.33 kB / 1.039 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.437, allocations: 4 kB / 1.039 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/1.437, allocations: 45.55 kB / 1.039 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/1.438, allocations: 123.6 kB / 1.039 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/1.441, allocations: 0.8646 MB / 1.04 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.442, allocations: 1.015 MB / 1.041 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.383e-06/1.442, allocations: 0 / 1.041 GB, free: 14.1 MB / 0.6667 GB