Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 189.2 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4508/0.4508, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.244/1.244, allocations: 221.4 MB / 342.7 MB, free: 5.133 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.0009341/0.0009342, allocations: 92.67 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1605/0.1614, allocations: 78.44 MB / 493.9 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.5009, allocations: 72.31 MB / 0.553 GB, free: 73.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5856/1.087, allocations: 377.6 MB / 0.9217 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/1.087, allocations: 94.97 kB / 0.9218 GB, free: 12.72 MB / 0.5886 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.862/3.949, allocations: 0.8159 GB / 1.738 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/3.949, allocations: 10.94 kB / 1.738 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/3.951, allocations: 264.8 kB / 1.738 GB, free: 62.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05907/4.01, allocations: 24.82 MB / 1.762 GB, free: 61.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/4.01, allocations: 42.16 kB / 1.762 GB, free: 61.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004865/4.01, allocations: 85.38 kB / 1.762 GB, free: 61.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002535/4.013, allocations: 0.8699 MB / 1.763 GB, free: 61.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/4.016, allocations: 1.207 MB / 1.764 GB, free: 60.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/4.016, allocations: 7.625 kB / 1.764 GB, free: 60.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/4.016, allocations: 0 / 1.764 GB, free: 60.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/4.016, allocations: 53.48 kB / 1.764 GB, free: 60.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/4.026, allocations: 7.584 MB / 1.772 GB, free: 56.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/4.027, allocations: 351.7 kB / 1.772 GB, free: 56.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/4.028, allocations: 271 kB / 1.772 GB, free: 56.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007583/4.028, allocations: 1.16 MB / 1.774 GB, free: 55.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/4.028, allocations: 40.34 kB / 1.774 GB, free: 55.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 5.09e-06/4.028, allocations: 3.609 kB / 1.774 GB, free: 55.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001673/4.03, allocations: 0.6272 MB / 1.774 GB, free: 55.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/4.03, allocations: 61.81 kB / 1.774 GB, free: 55.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/4.033, allocations: 1.202 MB / 1.775 GB, free: 54.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/4.033, allocations: 29.67 kB / 1.775 GB, free: 54.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/4.033, allocations: 0.657 MB / 1.776 GB, free: 54.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/4.034, allocations: 208.9 kB / 1.776 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/4.034, allocations: 0 / 1.776 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/4.034, allocations: 339.2 kB / 1.777 GB, free: 54.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/4.034, allocations: 224.2 kB / 1.777 GB, free: 54.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/4.035, allocations: 0.5841 MB / 1.777 GB, free: 53.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/4.035, allocations: 358.2 kB / 1.778 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/4.035, allocations: 0 / 1.778 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001847/4.037, allocations: 0.9039 MB / 1.779 GB, free: 53.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/4.037, allocations: 3.969 kB / 1.779 GB, free: 53.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/4.037, allocations: 15.31 kB / 1.779 GB, free: 53.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/4.037, allocations: 15.75 kB / 1.779 GB, free: 53.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/4.038, allocations: 231.9 kB / 1.779 GB, free: 53.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/4.038, allocations: 22.33 kB / 1.779 GB, free: 53.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/4.04, allocations: 172.2 kB / 1.779 GB, free: 53.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/4.04, allocations: 53.33 kB / 1.779 GB, free: 53.43 MB / 0.6198 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.0002127/4.04, allocations: 134.1 kB / 1.779 GB, free: 53.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/4.041, allocations: 170 kB / 1.779 GB, free: 53.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/4.042, allocations: 0.763 MB / 1.78 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/4.042, allocations: 7.312 kB / 1.78 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/4.042, allocations: 0 / 1.78 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009533/4.043, allocations: 0.6963 MB / 1.781 GB, free: 52.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/4.047, allocations: 2.175 MB / 1.783 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/4.048, allocations: 2.25 kB / 1.783 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/4.048, allocations: 191.2 kB / 1.783 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/4.048, allocations: 3.812 kB / 1.783 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/4.048, allocations: 10.41 kB / 1.783 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/4.048, allocations: 6.25 kB / 1.783 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/4.048, allocations: 3.094 kB / 1.783 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001797/4.05, allocations: 1.329 MB / 1.784 GB, free: 52.04 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002496/4.053, allocations: 2.132 MB / 1.787 GB, free: 51.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009509/4.054, allocations: 368.1 kB / 1.787 GB, free: 51.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/4.054, allocations: 7.594 kB / 1.787 GB, free: 51.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/4.056, allocations: 118.4 kB / 1.787 GB, free: 51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/4.056, allocations: 53.17 kB / 1.787 GB, free: 51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/4.056, allocations: 32.66 kB / 1.787 GB, free: 51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001686/4.057, allocations: 0.9017 MB / 1.788 GB, free: 50.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003756/4.061, allocations: 0.8514 MB / 1.789 GB, free: 50.77 MB / 0.6198 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.001657/4.063, allocations: 0.9683 MB / 1.79 GB, free: 50.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001051/4.064, allocations: 0.6279 MB / 1.79 GB, free: 50.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/4.064, allocations: 0 / 1.79 GB, free: 50.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004078/4.064, allocations: 306.1 kB / 1.791 GB, free: 50.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/4.069, allocations: 0.9212 MB / 1.792 GB, free: 50.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/4.074, allocations: 2.344 MB / 1.794 GB, free: 49.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/4.076, allocations: 1.599 MB / 1.795 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/4.076, allocations: 0.75 kB / 1.795 GB, free: 49.08 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)