Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [: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.001182/0.001182, allocations: 189.6 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.457/0.457, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.4 MB / 342.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.0009228, allocations: 99.48 kB / 415.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.233e-06, allocations: 0 / 493.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.315, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5379/0.853, allocations: 371.2 MB / 0.9154 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.8533, allocations: 88.33 kB / 0.9155 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.267/2.12, allocations: 444.3 MB / 1.349 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001708/2.121, allocations: 34.83 kB / 1.349 GB, free: 67.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003476/2.124, allocations: 1.261 MB / 1.351 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/2.124, allocations: 8.031 kB / 1.351 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/2.125, allocations: 130.5 kB / 1.351 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02789/2.153, allocations: 13.02 MB / 1.363 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/2.153, allocations: 20 kB / 1.364 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/2.153, allocations: 44 kB / 1.364 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001122/2.154, allocations: 451.9 kB / 1.364 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/2.155, allocations: 0.634 MB / 1.365 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/2.155, allocations: 0 / 1.365 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/2.155, allocations: 7.312 kB / 1.365 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/2.155, allocations: 20 kB / 1.365 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/2.16, allocations: 3.53 MB / 1.368 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/2.16, allocations: 207.2 kB / 1.368 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/2.16, allocations: 148.8 kB / 1.368 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/2.161, allocations: 0.6645 MB / 1.369 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/2.161, allocations: 38.56 kB / 1.369 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/2.161, allocations: 0 / 1.369 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.000887/2.162, allocations: 357 kB / 1.369 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/2.162, allocations: 63.39 kB / 1.369 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/2.163, allocations: 0.6376 MB / 1.37 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/2.163, allocations: 29.7 kB / 1.37 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/2.163, allocations: 374.9 kB / 1.371 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/2.163, allocations: 106.4 kB / 1.371 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/2.163, allocations: 0 / 1.371 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.465e-05/2.163, allocations: 326 kB / 1.371 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/2.163, allocations: 117 kB / 1.371 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/2.164, allocations: 332.9 kB / 1.371 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/2.164, allocations: 189.7 kB / 1.372 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/2.164, allocations: 7.984 kB / 1.372 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008367/2.165, allocations: 488.2 kB / 1.372 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/2.165, allocations: 8 kB / 1.372 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/2.165, allocations: 4 kB / 1.372 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/2.165, allocations: 8 kB / 1.372 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/2.165, allocations: 127.1 kB / 1.372 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/2.165, allocations: 11.98 kB / 1.372 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/2.166, allocations: 79.39 kB / 1.372 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/2.166, allocations: 31.98 kB / 1.372 GB, free: 43.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001064/2.166, allocations: 120.7 kB / 1.372 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/2.166, allocations: 86.97 kB / 1.372 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/2.167, allocations: 440.2 kB / 1.373 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/2.167, allocations: 4 kB / 1.373 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.167, allocations: 6.562 kB / 1.373 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004837/2.168, allocations: 409.9 kB / 1.373 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/2.169, allocations: 1.219 MB / 1.374 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.169, allocations: 3.984 kB / 1.374 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/2.17, allocations: 88.05 kB / 1.375 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/2.17, allocations: 7.906 kB / 1.375 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/2.17, allocations: 4 kB / 1.375 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/2.17, allocations: 3.938 kB / 1.375 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/2.17, allocations: 4 kB / 1.375 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008619/2.171, allocations: 0.7553 MB / 1.375 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/2.171, allocations: 228 kB / 1.376 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/2.171, allocations: 3.984 kB / 1.376 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005764/2.172, allocations: 55.8 kB / 1.376 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/2.172, allocations: 23.91 kB / 1.376 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/2.172, allocations: 19.98 kB / 1.376 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005528/2.173, allocations: 499.1 kB / 1.376 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001294/2.174, allocations: 377.5 kB / 1.376 GB, free: 39.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001065/2.175, allocations: 0.5556 MB / 1.377 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000492/2.175, allocations: 341.4 kB / 1.377 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.175, allocations: 0.5625 kB / 1.377 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/2.176, allocations: 172.1 kB / 1.377 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/2.178, allocations: 456.3 kB / 1.378 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/2.18, allocations: 1.18 MB / 1.379 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/2.181, allocations: 1.148 MB / 1.38 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/2.181, allocations: 0 / 1.38 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.02506/2.206, allocations: 17.04 MB / 1.397 GB, free: 18.33 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)