Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.498/1.498, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001052/0.001052, allocations: 187.5 kB / 361.1 MB, free: 7.129 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.526/1.526, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008827/0.0008824, allocations: 96.92 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.108e-05, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7717, allocations: 115.3 MB / 0.9637 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9818/1.754, allocations: 406.5 MB / 1.361 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.754, allocations: 90.33 kB / 1.361 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.363/3.117, allocations: 434.2 MB / 1.785 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001025/3.117, allocations: 35.45 kB / 1.785 GB, free: 179.6 MB / 0.9323 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.00211/3.119, allocations: 1.251 MB / 1.786 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/3.119, allocations: 8.531 kB / 1.786 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/3.119, allocations: 135.1 kB / 1.786 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02655/3.146, allocations: 12.75 MB / 1.799 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/3.146, allocations: 20 kB / 1.799 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/3.146, allocations: 44 kB / 1.799 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008372/3.147, allocations: 455.9 kB / 1.799 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/3.148, allocations: 0.6345 MB / 1.8 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/3.148, allocations: 3.938 kB / 1.8 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/3.148, allocations: 3.906 kB / 1.8 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/3.148, allocations: 23.98 kB / 1.8 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/3.152, allocations: 3.525 MB / 1.803 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/3.152, allocations: 197.8 kB / 1.803 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/3.152, allocations: 151.5 kB / 1.804 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/3.153, allocations: 0.6648 MB / 1.804 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/3.153, allocations: 38.5 kB / 1.804 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/3.153, allocations: 0 / 1.804 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.0007489/3.153, allocations: 358.1 kB / 1.805 GB, free: 159 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/3.153, allocations: 55.41 kB / 1.805 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/3.154, allocations: 0.6375 MB / 1.805 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/3.154, allocations: 25.7 kB / 1.805 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/3.154, allocations: 378.9 kB / 1.806 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/3.154, allocations: 110.4 kB / 1.806 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/3.154, allocations: 0 / 1.806 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/3.154, allocations: 322 kB / 1.806 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/3.155, allocations: 117 kB / 1.806 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/3.155, allocations: 343.3 kB / 1.806 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/3.155, allocations: 192.5 kB / 1.807 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/3.155, allocations: 11.94 kB / 1.807 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007035/3.156, allocations: 491.9 kB / 1.807 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/3.156, allocations: 4 kB / 1.807 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/3.156, allocations: 4.688 kB / 1.807 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/3.156, allocations: 8 kB / 1.807 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/3.156, allocations: 119.8 kB / 1.807 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/3.156, allocations: 12.03 kB / 1.807 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/3.157, allocations: 79.48 kB / 1.807 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/3.157, allocations: 31.89 kB / 1.807 GB, free: 155.9 MB / 0.9323 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 9.848e-05/3.157, allocations: 124.8 kB / 1.808 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/3.157, allocations: 87.53 kB / 1.808 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/3.158, allocations: 448.3 kB / 1.808 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/3.158, allocations: 4 kB / 1.808 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/3.158, allocations: 0 / 1.808 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004667/3.159, allocations: 405.3 kB / 1.808 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/3.16, allocations: 1.22 MB / 1.81 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/3.16, allocations: 4 kB / 1.81 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/3.161, allocations: 79.88 kB / 1.81 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/3.161, allocations: 8.156 kB / 1.81 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/3.161, allocations: 8.562 kB / 1.81 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/3.161, allocations: 7.938 kB / 1.81 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/3.161, allocations: 3.906 kB / 1.81 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008051/3.162, allocations: 0.7514 MB / 1.81 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/3.162, allocations: 231.8 kB / 1.811 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/3.162, allocations: 0.5625 kB / 1.811 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/3.162, allocations: 59.94 kB / 1.811 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/3.163, allocations: 27.81 kB / 1.811 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/3.163, allocations: 20.73 kB / 1.811 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0004992/3.163, allocations: 499.1 kB / 1.811 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001122/3.164, allocations: 367.2 kB / 1.812 GB, free: 151.5 MB / 0.9323 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.0008651/3.165, allocations: 0.5543 MB / 1.812 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004995/3.166, allocations: 339.8 kB / 1.812 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/3.166, allocations: 0 / 1.812 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/3.166, allocations: 166 kB / 1.813 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/3.168, allocations: 463.4 kB / 1.813 GB, free: 150 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/3.17, allocations: 1.177 MB / 1.814 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/3.17, allocations: 1.14 MB / 1.815 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of SimCode: time 7.52e-07/3.17, allocations: 4 kB / 1.815 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.02562/3.196, allocations: 17.16 MB / 1.832 GB, free: 130.7 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)