Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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.17/2.17, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.001622/0.001621, allocations: 191.4 kB / 315.1 MB, free: 4.273 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.835/1.835, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001338/0.001338, allocations: 83.38 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4512/0.4526, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.6577, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6302/1.288, allocations: 138.7 MB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/1.288, allocations: 89.62 kB / 1.019 GB, free: 1.539 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.05817/1.347, allocations: 13.26 MB / 1.032 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.347, allocations: 8 kB / 1.032 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/1.347, allocations: 75.08 kB / 1.032 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/1.348, allocations: 350.5 kB / 1.032 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.348, allocations: 0 / 1.032 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/1.348, allocations: 8 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003018/1.348, allocations: 95.31 kB / 1.032 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/1.348, allocations: 125.1 kB / 1.033 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.348, allocations: 3.938 kB / 1.033 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/1.348, allocations: 0 / 1.033 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.348, allocations: 0 / 1.033 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/1.35, allocations: 0.512 MB / 1.033 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/1.35, allocations: 115.6 kB / 1.033 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/1.35, allocations: 69.47 kB / 1.033 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/1.35, allocations: 4 kB / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/1.35, allocations: 140.9 kB / 1.033 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.334e-06/1.35, allocations: 0 / 1.033 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0006193/1.351, allocations: 204.7 kB / 1.034 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/1.351, allocations: 77.11 kB / 1.034 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/1.352, allocations: 0.6222 MB / 1.034 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/1.353, allocations: 33.8 kB / 1.034 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/1.353, allocations: 163.9 kB / 1.034 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/1.353, allocations: 19.03 kB / 1.035 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/1.353, allocations: 0 / 1.035 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.353, allocations: 375.9 kB / 1.035 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/1.353, allocations: 49.3 kB / 1.035 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/1.353, allocations: 49.41 kB / 1.035 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/1.354, allocations: 66.97 kB / 1.035 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.354, allocations: 0 / 1.035 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005535/1.354, allocations: 208.7 kB / 1.035 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.354, allocations: 8 kB / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.354, allocations: 0 / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.354, allocations: 0 / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/1.354, allocations: 11.81 kB / 1.035 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.354, allocations: 0 / 1.035 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/1.355, allocations: 15.83 kB / 1.035 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/1.355, allocations: 8 kB / 1.035 GB, free: 3.191 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000207/1.355, allocations: 142.1 kB / 1.035 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/1.355, allocations: 63.23 kB / 1.035 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.357, allocations: 242.1 kB / 1.036 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.357, allocations: 3.984 kB / 1.036 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.357, allocations: 0 / 1.036 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.357, allocations: 0 / 1.036 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.358, allocations: 342.8 kB / 1.036 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.358, allocations: 4 kB / 1.036 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/1.358, allocations: 4 kB / 1.036 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/1.358, allocations: 4.109 kB / 1.036 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/1.358, allocations: 12 kB / 1.036 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/1.358, allocations: 0 / 1.036 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.358, allocations: 3.938 kB / 1.036 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009908/1.359, allocations: 247.9 kB / 1.036 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001354/1.36, allocations: 0.6231 MB / 1.037 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/1.361, allocations: 155.5 kB / 1.037 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/1.361, allocations: 0 / 1.037 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/1.362, allocations: 8 kB / 1.037 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/1.362, allocations: 3.984 kB / 1.037 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/1.362, allocations: 11.06 kB / 1.037 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001895/1.364, allocations: 0.5087 MB / 1.038 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003015/1.367, allocations: 153.5 kB / 1.038 GB, free: 0.8867 MB / 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001397/1.368, allocations: 379.7 kB / 1.038 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000555/1.369, allocations: 143.9 kB / 1.038 GB, free: 424 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.369, allocations: 0 / 1.038 GB, free: 424 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/1.369, allocations: 116.8 kB / 1.038 GB, free: 332 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008007/1.37, allocations: 90.12 kB / 1.038 GB, free: 264 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/1.372, allocations: 0.7872 MB / 1.039 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009381/1.373, allocations: 0.9913 MB / 1.04 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of SimCode: time 1.222e-06/1.373, allocations: 4 kB / 1.04 GB, free: 14.59 MB / 0.6667 GB