Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [: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.583/1.583, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001157/0.001158, allocations: 173.3 kB / 366.3 MB, free: 2.004 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.627/1.627, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000894/0.0008937, allocations: 94.72 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.119e-05/1.121e-05, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6959, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.135/4.831, allocations: 2.057 GB / 3.029 GB, free: 19.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004467/4.831, allocations: 92.53 kB / 3.03 GB, free: 19.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.69/5.522, allocations: 40.75 MB / 3.069 GB, free: 338.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.924e-05/5.522, allocations: 6.312 kB / 3.069 GB, free: 338.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007225/5.522, allocations: 454.8 kB / 3.07 GB, free: 338.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/5.522, allocations: 8.75 kB / 3.07 GB, free: 338.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/5.523, allocations: 35.55 kB / 3.07 GB, free: 338.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/5.523, allocations: 208.9 kB / 3.07 GB, free: 338.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/5.523, allocations: 11.41 kB / 3.07 GB, free: 338.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/5.523, allocations: 7.438 kB / 3.07 GB, free: 338.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001997/5.523, allocations: 56.19 kB / 3.07 GB, free: 338.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/5.524, allocations: 93.19 kB / 3.07 GB, free: 338.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/5.524, allocations: 0.5625 kB / 3.07 GB, free: 338.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/5.524, allocations: 3.906 kB / 3.07 GB, free: 338.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/5.524, allocations: 2.781 kB / 3.07 GB, free: 338.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/5.524, allocations: 420.5 kB / 3.071 GB, free: 337.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/5.525, allocations: 69.98 kB / 3.071 GB, free: 337.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/5.525, allocations: 28.14 kB / 3.071 GB, free: 337.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/5.525, allocations: 1.688 kB / 3.071 GB, free: 337.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/5.525, allocations: 35.56 kB / 3.071 GB, free: 337.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/5.525, allocations: 0 / 3.071 GB, free: 337.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002727/5.525, allocations: 82.47 kB / 3.071 GB, free: 337.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/5.525, allocations: 52.44 kB / 3.071 GB, free: 337.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/5.525, allocations: 134.5 kB / 3.071 GB, free: 337.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/5.525, allocations: 30.27 kB / 3.071 GB, free: 337.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/5.525, allocations: 117.1 kB / 3.071 GB, free: 337.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/5.525, allocations: 21.22 kB / 3.071 GB, free: 337.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/5.525, allocations: 0.5 kB / 3.071 GB, free: 337.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/5.525, allocations: 320.9 kB / 3.071 GB, free: 337.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.768e-05/5.525, allocations: 18.22 kB / 3.071 GB, free: 337.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/5.526, allocations: 18.5 kB / 3.071 GB, free: 337.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/5.526, allocations: 22.19 kB / 3.071 GB, free: 337.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/5.526, allocations: 0.5625 kB / 3.072 GB, free: 337.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001835/5.526, allocations: 86.06 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/5.526, allocations: 4.812 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/5.526, allocations: 0.5 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/5.526, allocations: 4.531 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/5.526, allocations: 32.27 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/5.526, allocations: 1.125 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/5.526, allocations: 15.59 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/5.526, allocations: 1.75 kB / 3.072 GB, free: 337 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.046e-05/5.526, allocations: 104.1 kB / 3.072 GB, free: 336.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/5.526, allocations: 13.28 kB / 3.072 GB, free: 336.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/5.527, allocations: 98.62 kB / 3.072 GB, free: 336.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/5.527, allocations: 1.094 kB / 3.072 GB, free: 336.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/5.527, allocations: 0.5938 kB / 3.072 GB, free: 336.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/5.527, allocations: 0 / 3.072 GB, free: 336.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/5.527, allocations: 197.8 kB / 3.072 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/5.527, allocations: 2.188 kB / 3.072 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/5.527, allocations: 19.59 kB / 3.072 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/5.527, allocations: 0.5312 kB / 3.072 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/5.527, allocations: 0.5 kB / 3.072 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/5.527, allocations: 0.5938 kB / 3.072 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/5.527, allocations: 0.5625 kB / 3.072 GB, free: 336.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001988/5.527, allocations: 183.8 kB / 3.072 GB, free: 336.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/5.527, allocations: 83.8 kB / 3.072 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/5.527, allocations: 4.797 kB / 3.072 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/5.527, allocations: 14.56 kB / 3.072 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/5.528, allocations: 5.719 kB / 3.072 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/5.528, allocations: 5.688 kB / 3.072 GB, free: 336.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.856e-05/5.528, allocations: 113.6 kB / 3.072 GB, free: 336.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003613/5.528, allocations: 55.38 kB / 3.073 GB, free: 336.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001242/5.529, allocations: 0.653 MB / 3.073 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001433/5.529, allocations: 50.16 kB / 3.073 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/5.529, allocations: 0 / 3.073 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/5.529, allocations: 30.17 kB / 3.073 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/5.53, allocations: 31.7 kB / 3.073 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/5.53, allocations: 151.4 kB / 3.073 GB, free: 335.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/5.531, allocations: 0.7356 MB / 3.074 GB, free: 335.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/5.531, allocations: 0 / 3.074 GB, free: 335.2 MB / 0.948 GB Notification: Performance of Templates: time 0.008689/5.539, allocations: 4.583 MB / 3.079 GB, free: 334.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)