Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [: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/Complex 4.0.0+maint.om/package.mo): time 0.004357/0.004357, allocations: 179.2 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 130.6 MB / 138.5 MB, free: 2.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 221.3 MB / 391.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 100.6 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.113e-05/1.117e-05, allocations: 2.562 kB / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 81.59 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.364/1.584, allocations: 387 MB / 1.006 GB, free: 197 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/1.585, allocations: 91.81 kB / 1.006 GB, free: 197 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.933/4.518, allocations: 0.81 GB / 1.816 GB, free: 74.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002258/4.519, allocations: 60.17 kB / 1.816 GB, free: 74.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004812/4.524, allocations: 2.183 MB / 1.818 GB, free: 73.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/4.524, allocations: 10.78 kB / 1.818 GB, free: 73.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/4.525, allocations: 269.2 kB / 1.818 GB, free: 73.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05733/4.582, allocations: 24.82 MB / 1.842 GB, free: 71.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/4.582, allocations: 42.12 kB / 1.842 GB, free: 71.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/4.582, allocations: 87.81 kB / 1.842 GB, free: 71.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001742/4.584, allocations: 0.873 MB / 1.843 GB, free: 71.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/4.586, allocations: 1.202 MB / 1.844 GB, free: 71.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/4.586, allocations: 6.344 kB / 1.844 GB, free: 71.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/4.586, allocations: 6.672 kB / 1.844 GB, free: 71.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/4.586, allocations: 52.56 kB / 1.844 GB, free: 71.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008083/4.594, allocations: 7.591 MB / 1.852 GB, free: 67.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/4.595, allocations: 348.7 kB / 1.852 GB, free: 67.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/4.595, allocations: 278.6 kB / 1.852 GB, free: 67.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/4.596, allocations: 1.159 MB / 1.854 GB, free: 65.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/4.596, allocations: 40.59 kB / 1.854 GB, free: 65.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.855e-06/4.596, allocations: 0.75 kB / 1.854 GB, free: 65.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.001368/4.597, allocations: 0.6258 MB / 1.854 GB, free: 65.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/4.597, allocations: 58.34 kB / 1.854 GB, free: 65.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/4.599, allocations: 1.209 MB / 1.856 GB, free: 65.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/4.599, allocations: 25.7 kB / 1.856 GB, free: 65.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/4.599, allocations: 0.6478 MB / 1.856 GB, free: 65.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/4.599, allocations: 215.6 kB / 1.856 GB, free: 65.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/4.599, allocations: 0 / 1.856 GB, free: 65.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/4.6, allocations: 342.6 kB / 1.857 GB, free: 64.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/4.6, allocations: 217.3 kB / 1.857 GB, free: 64.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/4.6, allocations: 0.5849 MB / 1.857 GB, free: 64.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/4.601, allocations: 354.2 kB / 1.858 GB, free: 64.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/4.601, allocations: 3.406 kB / 1.858 GB, free: 64.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001407/4.602, allocations: 0.9034 MB / 1.859 GB, free: 64.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/4.602, allocations: 3.094 kB / 1.859 GB, free: 64.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/4.602, allocations: 12.59 kB / 1.859 GB, free: 64.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/4.603, allocations: 17.94 kB / 1.859 GB, free: 64.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/4.603, allocations: 230.8 kB / 1.859 GB, free: 64.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/4.603, allocations: 22.58 kB / 1.859 GB, free: 64.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/4.605, allocations: 176 kB / 1.859 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/4.605, allocations: 55.56 kB / 1.859 GB, free: 64.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0001573/4.605, allocations: 130.9 kB / 1.859 GB, free: 64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/4.605, allocations: 169.6 kB / 1.859 GB, free: 63.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/4.607, allocations: 0.7523 MB / 1.86 GB, free: 63.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/4.607, allocations: 11.09 kB / 1.86 GB, free: 63.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/4.607, allocations: 3.688 kB / 1.86 GB, free: 63.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008789/4.607, allocations: 0.7005 MB / 1.861 GB, free: 63.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/4.611, allocations: 2.181 MB / 1.863 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/4.611, allocations: 2.469 kB / 1.863 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/4.612, allocations: 191.2 kB / 1.863 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/4.612, allocations: 6.625 kB / 1.863 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/4.612, allocations: 7.062 kB / 1.863 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/4.612, allocations: 7.719 kB / 1.863 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/4.612, allocations: 4.719 kB / 1.863 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00168/4.614, allocations: 1.325 MB / 1.865 GB, free: 62.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/4.614, allocations: 371 kB / 1.865 GB, free: 62.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/4.615, allocations: 6.016 kB / 1.865 GB, free: 62.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/4.616, allocations: 117.5 kB / 1.865 GB, free: 62.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/4.616, allocations: 47.62 kB / 1.865 GB, free: 62.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/4.616, allocations: 38.69 kB / 1.865 GB, free: 62.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001218/4.617, allocations: 0.9023 MB / 1.866 GB, free: 62.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002518/4.62, allocations: 0.7039 MB / 1.867 GB, free: 62.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001569/4.621, allocations: 0.952 MB / 1.868 GB, free: 62.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009669/4.622, allocations: 0.6243 MB / 1.868 GB, free: 62.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/4.622, allocations: 0 / 1.868 GB, free: 62.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/4.623, allocations: 318.3 kB / 1.869 GB, free: 62.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/4.627, allocations: 0.9228 MB / 1.869 GB, free: 62.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/4.631, allocations: 2.33 MB / 1.872 GB, free: 61.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/4.633, allocations: 1.596 MB / 1.873 GB, free: 60.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.694e-06/4.633, allocations: 0 / 1.873 GB, free: 60.61 MB / 0.698 GB Notification: Performance of Templates: time 0.06744/4.7, allocations: 32.76 MB / 1.905 GB, free: 55.6 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)