Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.8 MB / 297.1 MB, free: 9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 173.3 kB / 366.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 0.6256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 90.31 kB / 0.7396 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.676e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 116.3 MB / 0.9726 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.778/1.033, allocations: 140.7 MB / 1.11 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.033, allocations: 82.08 kB / 1.11 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.04911/1.083, allocations: 14.37 MB / 1.124 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.083, allocations: 1.406 kB / 1.124 GB, free: 14.63 MB / 0.6823 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.0008355/1.083, allocations: 439.2 kB / 1.125 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.084, allocations: 8.688 kB / 1.125 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/1.084, allocations: 13.34 kB / 1.125 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.653e-05/1.084, allocations: 169.2 kB / 1.125 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/1.084, allocations: 12.03 kB / 1.125 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/1.084, allocations: 6.031 kB / 1.125 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003488/1.084, allocations: 164.4 kB / 1.125 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/1.084, allocations: 199.2 kB / 1.125 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.084, allocations: 5.516 kB / 1.125 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/1.084, allocations: 0 / 1.125 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/1.084, allocations: 7.312 kB / 1.125 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/1.085, allocations: 251.5 kB / 1.125 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/1.085, allocations: 398.4 kB / 1.126 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/1.086, allocations: 167 kB / 1.126 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/1.086, allocations: 193.1 kB / 1.126 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/1.086, allocations: 41.72 kB / 1.126 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/1.086, allocations: 0 / 1.126 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0006876/1.087, allocations: 275.5 kB / 1.126 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/1.087, allocations: 188 kB / 1.127 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.422e-05/1.087, allocations: 85 kB / 1.127 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.087, allocations: 27.08 kB / 1.127 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.842e-05/1.087, allocations: 80.64 kB / 1.127 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/1.087, allocations: 99.94 kB / 1.127 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/1.087, allocations: 0 / 1.127 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/1.087, allocations: 322.3 kB / 1.127 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/1.087, allocations: 89.77 kB / 1.127 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/1.087, allocations: 132 kB / 1.127 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/1.088, allocations: 117.3 kB / 1.127 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.088, allocations: 1.25 kB / 1.127 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005434/1.088, allocations: 269.2 kB / 1.128 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.088, allocations: 5.188 kB / 1.128 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.088, allocations: 5.297 kB / 1.128 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.088, allocations: 6.531 kB / 1.128 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/1.089, allocations: 57.78 kB / 1.128 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/1.089, allocations: 6.578 kB / 1.128 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.994e-05/1.089, allocations: 15.66 kB / 1.128 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/1.089, allocations: 15.83 kB / 1.128 GB, free: 11.98 MB / 0.6823 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 8.16e-05/1.089, allocations: 107.3 kB / 1.128 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/1.089, allocations: 13.88 kB / 1.128 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007417/1.09, allocations: 363 kB / 1.128 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.09, allocations: 5.188 kB / 1.128 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.09, allocations: 5.25 kB / 1.128 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.09, allocations: 2.562 kB / 1.128 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/1.09, allocations: 220.4 kB / 1.128 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.09, allocations: 1.25 kB / 1.128 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/1.09, allocations: 58.42 kB / 1.129 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.09, allocations: 6.438 kB / 1.129 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/1.09, allocations: 16.77 kB / 1.129 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.09, allocations: 2.656 kB / 1.129 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.09, allocations: 1.281 kB / 1.129 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006174/1.091, allocations: 406.9 kB / 1.129 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/1.091, allocations: 90.02 kB / 1.129 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/1.091, allocations: 2.562 kB / 1.129 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/1.091, allocations: 9.312 kB / 1.129 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/1.091, allocations: 25.59 kB / 1.129 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/1.091, allocations: 11.56 kB / 1.129 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.803e-05/1.091, allocations: 75.28 kB / 1.129 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007894/1.092, allocations: 99.52 kB / 1.129 GB, free: 11.04 MB / 0.6823 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.000587/1.093, allocations: 219.4 kB / 1.129 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004035/1.093, allocations: 237 kB / 1.13 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.093, allocations: 0 / 1.13 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/1.093, allocations: 133.6 kB / 1.13 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/1.093, allocations: 11.83 kB / 1.13 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/1.094, allocations: 288.2 kB / 1.13 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/1.094, allocations: 0.7531 MB / 1.131 GB, free: 25.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.094, allocations: 0 / 1.131 GB, free: 25.95 MB / 0.698 GB Notification: Performance of Templates: time 0.007139/1.102, allocations: 3.12 MB / 1.134 GB, free: 24.39 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)