Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7116/0.7116, allocations: 132.4 MB / 139.7 MB, free: 15.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001246/0.001246, allocations: 166.8 kB / 171.6 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.55/1.55, allocations: 170.5 MB / 373.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001757/0.001757, allocations: 110.8 kB / 444.4 MB, free: 9.383 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5202/0.5203, allocations: 73.39 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.926/5.447, allocations: 2.118 GB / 2.784 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/5.447, allocations: 89.38 kB / 2.784 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.5086/5.956, allocations: 39.58 MB / 2.822 GB, free: 205.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.533e-05/5.956, allocations: 3.188 kB / 2.822 GB, free: 205.3 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006456/5.956, allocations: 455.3 kB / 2.823 GB, free: 204.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/5.956, allocations: 8.844 kB / 2.823 GB, free: 204.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/5.957, allocations: 36.11 kB / 2.823 GB, free: 204.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/5.957, allocations: 209.8 kB / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/5.957, allocations: 5.922 kB / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/5.957, allocations: 5.875 kB / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001743/5.957, allocations: 64.19 kB / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/5.957, allocations: 91 kB / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/5.958, allocations: 2.281 kB / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/5.958, allocations: 0 / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/5.958, allocations: 4.781 kB / 2.823 GB, free: 204.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/5.958, allocations: 421.8 kB / 2.824 GB, free: 204.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/5.958, allocations: 74.95 kB / 2.824 GB, free: 204.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/5.959, allocations: 29.77 kB / 2.824 GB, free: 204.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/5.959, allocations: 3.938 kB / 2.824 GB, free: 204.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/5.959, allocations: 39.86 kB / 2.824 GB, free: 204.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/5.959, allocations: 2.438 kB / 2.824 GB, free: 204.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002303/5.959, allocations: 82.39 kB / 2.824 GB, free: 204.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/5.959, allocations: 51.41 kB / 2.824 GB, free: 204.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/5.959, allocations: 130.4 kB / 2.824 GB, free: 204.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/5.959, allocations: 25.7 kB / 2.824 GB, free: 204.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/5.959, allocations: 116.5 kB / 2.824 GB, free: 204 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/5.959, allocations: 23.08 kB / 2.824 GB, free: 204 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/5.959, allocations: 0 / 2.824 GB, free: 204 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/5.959, allocations: 321.6 kB / 2.824 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/5.959, allocations: 24.31 kB / 2.824 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/5.959, allocations: 17.59 kB / 2.824 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/5.959, allocations: 25.28 kB / 2.824 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/5.959, allocations: 0 / 2.824 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001378/5.96, allocations: 87.16 kB / 2.825 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/5.96, allocations: 2.5 kB / 2.825 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/5.96, allocations: 5.031 kB / 2.825 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/5.96, allocations: 3 kB / 2.825 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/5.96, allocations: 18.14 kB / 2.825 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/5.96, allocations: 7.656 kB / 2.825 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/5.96, allocations: 14.61 kB / 2.825 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/5.96, allocations: 0 / 2.825 GB, free: 203.7 MB / 0.6198 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 5.902e-05/5.96, allocations: 107.2 kB / 2.825 GB, free: 203.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/5.96, allocations: 14.19 kB / 2.825 GB, free: 203.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/5.96, allocations: 93.22 kB / 2.825 GB, free: 203.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/5.96, allocations: 6.219 kB / 2.825 GB, free: 203.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/5.96, allocations: 0 / 2.825 GB, free: 203.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/5.96, allocations: 0.9375 kB / 2.825 GB, free: 203.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/5.96, allocations: 190 kB / 2.825 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/5.96, allocations: 2.656 kB / 2.825 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/5.961, allocations: 23.36 kB / 2.825 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/5.961, allocations: 0 / 2.825 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/5.961, allocations: 0 / 2.825 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/5.961, allocations: 2.688 kB / 2.825 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.961, allocations: 0 / 2.825 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001618/5.961, allocations: 183.1 kB / 2.825 GB, free: 203.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/5.961, allocations: 88.77 kB / 2.825 GB, free: 203.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/5.961, allocations: 2.062 kB / 2.825 GB, free: 203.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/5.961, allocations: 12.67 kB / 2.825 GB, free: 203.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/5.961, allocations: 10.95 kB / 2.825 GB, free: 203.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/5.961, allocations: 0 / 2.825 GB, free: 203.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.913e-05/5.961, allocations: 117.1 kB / 2.825 GB, free: 203 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003263/5.961, allocations: 46.92 kB / 2.825 GB, free: 203 MB / 0.6198 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.001049/5.962, allocations: 0.6558 MB / 2.826 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001496/5.963, allocations: 46.53 kB / 2.826 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/5.963, allocations: 0 / 2.826 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.167e-05/5.963, allocations: 34.97 kB / 2.826 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/5.963, allocations: 31.03 kB / 2.826 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/5.964, allocations: 153.4 kB / 2.826 GB, free: 202.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/5.964, allocations: 0.728 MB / 2.827 GB, free: 202.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/5.964, allocations: 0 / 2.827 GB, free: 202.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.008353/5.972, allocations: 4.594 MB / 2.832 GB, free: 201.5 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)