Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 0.6328 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 173.3 kB / 316 MB, free: 8.793 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.1 MB / 0.5667 GB, free: 13.36 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008375/0.0008375, allocations: 84.72 kB / 0.671 GB, free: 51.51 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2112/0.2121, allocations: 112.5 MB / 0.7808 GB, free: 9.766 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.7014, allocations: 106.3 MB / 0.8846 GB, free: 89.09 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7165/1.418, allocations: 404.8 MB / 1.28 GB, free: 233.8 MB / 0.8308 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.418, allocations: 95.09 kB / 1.28 GB, free: 233.8 MB / 0.8308 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 2.161/3.579, allocations: 0.774 GB / 2.054 GB, free: 98.55 MB / 0.8621 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/3.579, allocations: 12.62 kB / 2.054 GB, free: 98.55 MB / 0.8621 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/3.58, allocations: 264.8 kB / 2.054 GB, free: 98.42 MB / 0.8621 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05362/3.634, allocations: 23.61 MB / 2.077 GB, free: 78.05 MB / 0.8621 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/3.634, allocations: 44 kB / 2.077 GB, free: 78.01 MB / 0.8621 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/3.634, allocations: 87.98 kB / 2.078 GB, free: 77.92 MB / 0.8621 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001836/3.636, allocations: 0.8714 MB / 2.078 GB, free: 77.05 MB / 0.8621 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/3.638, allocations: 1.201 MB / 2.08 GB, free: 75.78 MB / 0.8621 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.502e-05/3.639, allocations: 0 / 2.08 GB, free: 75.78 MB / 0.8621 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/3.639, allocations: 6.656 kB / 2.08 GB, free: 75.78 MB / 0.8621 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/3.639, allocations: 36 kB / 2.08 GB, free: 75.74 MB / 0.8621 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008608/3.647, allocations: 7.589 MB / 2.087 GB, free: 67.77 MB / 0.8621 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/3.648, allocations: 346.7 kB / 2.087 GB, free: 67.43 MB / 0.8621 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/3.648, allocations: 272.1 kB / 2.088 GB, free: 67.16 MB / 0.8621 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006761/3.649, allocations: 1.163 MB / 2.089 GB, free: 65.75 MB / 0.8621 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/3.649, allocations: 39.06 kB / 2.089 GB, free: 65.7 MB / 0.8621 GB Notification: Performance of pre-optimization done (n=59): time 2.725e-06/3.649, allocations: 0 / 2.089 GB, free: 65.7 MB / 0.8621 GB Notification: Performance of matching and sorting (n=59): time 0.001411/3.65, allocations: 0.6201 MB / 2.089 GB, free: 65.07 MB / 0.8621 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/3.651, allocations: 58.47 kB / 2.089 GB, free: 65 MB / 0.8621 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/3.652, allocations: 1.186 MB / 2.091 GB, free: 63.82 MB / 0.8621 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/3.652, allocations: 29.7 kB / 2.091 GB, free: 63.79 MB / 0.8621 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/3.652, allocations: 0.6564 MB / 2.091 GB, free: 63.12 MB / 0.8621 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/3.653, allocations: 209 kB / 2.091 GB, free: 62.91 MB / 0.8621 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/3.653, allocations: 0 / 2.091 GB, free: 62.91 MB / 0.8621 GB Notification: Performance of setup shared object (initialization): time 6.285e-05/3.653, allocations: 340.5 kB / 2.092 GB, free: 62.57 MB / 0.8621 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/3.653, allocations: 221.9 kB / 2.092 GB, free: 62.36 MB / 0.8621 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/3.654, allocations: 0.5902 MB / 2.093 GB, free: 61.61 MB / 0.8621 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/3.654, allocations: 364.2 kB / 2.093 GB, free: 61.27 MB / 0.8621 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/3.654, allocations: 0 / 2.093 GB, free: 61.27 MB / 0.8621 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001278/3.656, allocations: 0.8947 MB / 2.094 GB, free: 60.38 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/3.656, allocations: 4 kB / 2.094 GB, free: 60.37 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/3.656, allocations: 12 kB / 2.094 GB, free: 60.36 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/3.656, allocations: 21.44 kB / 2.094 GB, free: 60.34 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/3.656, allocations: 231.5 kB / 2.094 GB, free: 60.12 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/3.656, allocations: 19.94 kB / 2.094 GB, free: 60.1 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/3.658, allocations: 168.7 kB / 2.094 GB, free: 59.95 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/3.658, allocations: 56.44 kB / 2.094 GB, free: 59.89 MB / 0.8621 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.0001285/3.658, allocations: 141.1 kB / 2.094 GB, free: 59.75 MB / 0.8621 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/3.658, allocations: 166.5 kB / 2.095 GB, free: 59.59 MB / 0.8621 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/3.659, allocations: 0.7661 MB / 2.095 GB, free: 58.81 MB / 0.8621 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/3.659, allocations: 8 kB / 2.095 GB, free: 58.8 MB / 0.8621 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/3.659, allocations: 3.906 kB / 2.095 GB, free: 58.8 MB / 0.8621 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008135/3.66, allocations: 0.6951 MB / 2.096 GB, free: 58.05 MB / 0.8621 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/3.664, allocations: 2.157 MB / 2.098 GB, free: 55.84 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/3.664, allocations: 4 kB / 2.098 GB, free: 55.84 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/3.665, allocations: 184.1 kB / 2.098 GB, free: 55.66 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/3.665, allocations: 8 kB / 2.098 GB, free: 55.65 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/3.665, allocations: 12 kB / 2.098 GB, free: 55.64 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/3.665, allocations: 7.938 kB / 2.098 GB, free: 55.63 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/3.665, allocations: 4 kB / 2.098 GB, free: 55.62 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001715/3.667, allocations: 1.321 MB / 2.1 GB, free: 54.21 MB / 0.8621 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002305/3.669, allocations: 2.123 MB / 2.102 GB, free: 52 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007474/3.67, allocations: 366.7 kB / 2.102 GB, free: 51.63 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/3.67, allocations: 7.984 kB / 2.102 GB, free: 51.62 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/3.671, allocations: 111.8 kB / 2.102 GB, free: 51.51 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.672, allocations: 44.42 kB / 2.102 GB, free: 51.47 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/3.672, allocations: 31.98 kB / 2.102 GB, free: 51.44 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.001425/3.673, allocations: 0.8949 MB / 2.103 GB, free: 50.55 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.003048/3.676, allocations: 0.8616 MB / 2.104 GB, free: 49.69 MB / 0.8621 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.001505/3.678, allocations: 0.9538 MB / 2.105 GB, free: 48.83 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.0009341/3.679, allocations: 0.6214 MB / 2.105 GB, free: 48.21 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/3.679, allocations: 0 / 2.105 GB, free: 48.21 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 0.0004028/3.679, allocations: 314.2 kB / 2.106 GB, free: 47.91 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/3.683, allocations: 0.9211 MB / 2.107 GB, free: 47.01 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/3.688, allocations: 2.323 MB / 2.109 GB, free: 44.64 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/3.69, allocations: 1.602 MB / 2.111 GB, free: 43.01 MB / 0.8621 GB Notification: Performance of SimCode: time 1.202e-06/3.69, allocations: 0 / 2.111 GB, free: 43.01 MB / 0.8621 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)