Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.177/2.177, allocations: 248.6 MB / 255.9 MB, free: 7.09 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.001629/0.001629, allocations: 185.2 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.896/1.896, allocations: 205.1 MB / 0.5658 GB, free: 356 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.001254/0.001253, allocations: 83.34 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5862/0.5875, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.8387, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6319/1.471, allocations: 134.3 MB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/1.471, allocations: 85.39 kB / 1.015 GB, free: 5.895 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.07667/1.548, allocations: 14.81 MB / 1.029 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.548, allocations: 11.94 kB / 1.029 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/1.548, allocations: 11.91 kB / 1.029 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/1.548, allocations: 163 kB / 1.029 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.548, allocations: 4 kB / 1.029 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/1.548, allocations: 8 kB / 1.029 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000493/1.549, allocations: 173.5 kB / 1.03 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/1.549, allocations: 201.8 kB / 1.03 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.178e-05/1.549, allocations: 0 / 1.03 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.549, allocations: 7.938 kB / 1.03 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.549, allocations: 0 / 1.03 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/1.55, allocations: 250.3 kB / 1.03 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.551, allocations: 384.8 kB / 1.03 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/1.551, allocations: 175.8 kB / 1.03 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/1.552, allocations: 196.7 kB / 1.031 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.552, allocations: 45.78 kB / 1.031 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.898e-06/1.552, allocations: 0 / 1.031 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.001178/1.553, allocations: 274.9 kB / 1.031 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.553, allocations: 187 kB / 1.031 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/1.553, allocations: 85 kB / 1.031 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/1.553, allocations: 25.7 kB / 1.031 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/1.553, allocations: 80.64 kB / 1.031 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.553, allocations: 99.44 kB / 1.031 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/1.553, allocations: 4 kB / 1.031 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.553, allocations: 322.5 kB / 1.032 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.554, allocations: 81.45 kB / 1.032 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/1.554, allocations: 138.5 kB / 1.032 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/1.554, allocations: 113.5 kB / 1.032 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.555, allocations: 11.91 kB / 1.032 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009372/1.555, allocations: 277.1 kB / 1.032 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.556, allocations: 4 kB / 1.032 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.556, allocations: 4 kB / 1.032 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.556, allocations: 0 / 1.032 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/1.556, allocations: 51.97 kB / 1.032 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.556, allocations: 3.938 kB / 1.032 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/1.556, allocations: 15.78 kB / 1.032 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/1.556, allocations: 19.36 kB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001282/1.557, allocations: 119.1 kB / 1.033 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/1.557, allocations: 7.906 kB / 1.033 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/1.558, allocations: 367.3 kB / 1.033 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.558, allocations: 4 kB / 1.033 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.558, allocations: 0 / 1.033 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.558, allocations: 4 kB / 1.033 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/1.558, allocations: 222.8 kB / 1.033 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.558, allocations: 0 / 1.033 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/1.559, allocations: 59.81 kB / 1.033 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/1.559, allocations: 4 kB / 1.033 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/1.559, allocations: 15.36 kB / 1.033 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.559, allocations: 0 / 1.033 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.559, allocations: 4 kB / 1.033 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001053/1.56, allocations: 389.8 kB / 1.034 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001217/1.561, allocations: 0.7646 MB / 1.034 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/1.561, allocations: 92.95 kB / 1.034 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/1.561, allocations: 4 kB / 1.034 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/1.562, allocations: 0 / 1.034 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.562, allocations: 27.44 kB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/1.562, allocations: 15.42 kB / 1.034 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.539e-05/1.562, allocations: 75.28 kB / 1.035 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001508/1.563, allocations: 114.6 kB / 1.035 GB, free: 3.887 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0009113/1.564, allocations: 212.5 kB / 1.035 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006682/1.565, allocations: 242.9 kB / 1.035 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.565, allocations: 0 / 1.035 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/1.565, allocations: 138.7 kB / 1.035 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/1.566, allocations: 0 / 1.035 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/1.566, allocations: 298.6 kB / 1.035 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/1.567, allocations: 0.7538 MB / 1.036 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of SimCode: time 1.893e-06/1.567, allocations: 0 / 1.036 GB, free: 2.289 MB / 0.6511 GB