Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.147/2.147, allocations: 253.1 MB / 260.4 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 177.3 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001268, allocations: 89.77 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.137e-05/1.155e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.2 MB / 0.888 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6756/0.884, allocations: 134.3 MB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.8844, allocations: 84.31 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.07273/0.9571, allocations: 14.38 MB / 1.033 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.9572, allocations: 4 kB / 1.033 GB, free: 8.043 MB / 0.6511 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.0009931/0.9582, allocations: 429.3 kB / 1.034 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.9582, allocations: 12.03 kB / 1.034 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.9583, allocations: 15.89 kB / 1.034 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.9584, allocations: 170.9 kB / 1.034 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.9585, allocations: 4 kB / 1.034 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.9585, allocations: 8 kB / 1.034 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005103/0.959, allocations: 173.1 kB / 1.034 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.9595, allocations: 200.7 kB / 1.034 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.9595, allocations: 8 kB / 1.034 GB, free: 7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.9595, allocations: 0 / 1.034 GB, free: 7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.9595, allocations: 4 kB / 1.034 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.96, allocations: 241.5 kB / 1.035 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.961, allocations: 389.3 kB / 1.035 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.9614, allocations: 173.4 kB / 1.035 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/0.9618, allocations: 193.5 kB / 1.035 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.9619, allocations: 41.91 kB / 1.035 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/0.9619, allocations: 0 / 1.035 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.00101/0.9629, allocations: 279.1 kB / 1.036 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.963, allocations: 191.9 kB / 1.036 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.9631, allocations: 88.98 kB / 1.036 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.9631, allocations: 29.64 kB / 1.036 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.9632, allocations: 80.64 kB / 1.036 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.9633, allocations: 93.12 kB / 1.036 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.9634, allocations: 0 / 1.036 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9635, allocations: 326.1 kB / 1.036 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.9637, allocations: 84.7 kB / 1.036 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.964, allocations: 135.4 kB / 1.037 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.9645, allocations: 115 kB / 1.037 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.9645, allocations: 3.906 kB / 1.037 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000908/0.9655, allocations: 271.1 kB / 1.037 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.9655, allocations: 6.5 kB / 1.037 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.9655, allocations: 11.94 kB / 1.037 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.9655, allocations: 0 / 1.037 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.9661, allocations: 59.7 kB / 1.037 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.9661, allocations: 7.938 kB / 1.037 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.9663, allocations: 11.78 kB / 1.037 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.9663, allocations: 15.98 kB / 1.037 GB, free: 4.23 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.0001185/0.9665, allocations: 108.8 kB / 1.037 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.9665, allocations: 11.91 kB / 1.037 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.9678, allocations: 364.5 kB / 1.037 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.9678, allocations: 4 kB / 1.037 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.9679, allocations: 0 / 1.037 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.9679, allocations: 11.97 kB / 1.037 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.9682, allocations: 218.8 kB / 1.038 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.9682, allocations: 0 / 1.038 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.9687, allocations: 63.8 kB / 1.038 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.9688, allocations: 4 kB / 1.038 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.9688, allocations: 7.625 kB / 1.038 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.9688, allocations: 3.984 kB / 1.038 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9688, allocations: 8 kB / 1.038 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009451/0.9698, allocations: 384.8 kB / 1.038 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.9699, allocations: 100.4 kB / 1.038 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.9699, allocations: 0 / 1.038 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.9701, allocations: 4 kB / 1.038 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.9702, allocations: 19.91 kB / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.9702, allocations: 15.42 kB / 1.038 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.222e-05/0.9702, allocations: 79.28 kB / 1.038 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007122/0.971, allocations: 103.5 kB / 1.038 GB, free: 2.762 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.0007164/0.9717, allocations: 209.7 kB / 1.039 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006092/0.9723, allocations: 236.2 kB / 1.039 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9724, allocations: 4 kB / 1.039 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.9727, allocations: 139.8 kB / 1.039 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.9728, allocations: 11.84 kB / 1.039 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.9737, allocations: 291.9 kB / 1.039 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.9742, allocations: 0.7576 MB / 1.04 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/0.9742, allocations: 0 / 1.04 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of Templates: time 0.009502/0.9837, allocations: 3.119 MB / 1.043 GB, free: 14.05 MB / 0.6667 GB