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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_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.003571/0.003571, allocations: 186.1 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8228/0.8228, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.3 MB / 395 MB, free: 10.16 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.001006/0.001006, allocations: 102.1 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5055/0.5066, allocations: 88.43 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.6915, allocations: 82.3 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/2.045, allocations: 387.3 MB / 1.011 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/2.045, allocations: 89 kB / 1.012 GB, free: 203.4 MB / 0.6823 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 3.171/5.217, allocations: 0.8122 GB / 1.824 GB, free: 67.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/5.217, allocations: 10.5 kB / 1.824 GB, free: 67.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/5.218, allocations: 262.4 kB / 1.824 GB, free: 66.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05814/5.276, allocations: 24.82 MB / 1.848 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/5.276, allocations: 42.12 kB / 1.848 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/5.276, allocations: 88.72 kB / 1.848 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001805/5.278, allocations: 0.8745 MB / 1.849 GB, free: 65.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/5.28, allocations: 1.203 MB / 1.85 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/5.28, allocations: 4.281 kB / 1.85 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/5.28, allocations: 6.375 kB / 1.85 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/5.28, allocations: 44.64 kB / 1.85 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008972/5.289, allocations: 7.585 MB / 1.858 GB, free: 61.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/5.29, allocations: 348.8 kB / 1.858 GB, free: 61.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/5.29, allocations: 273.9 kB / 1.858 GB, free: 61.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/5.291, allocations: 1.158 MB / 1.86 GB, free: 59.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/5.291, allocations: 50.75 kB / 1.86 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.637e-06/5.291, allocations: 0 / 1.86 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.001548/5.293, allocations: 0.6204 MB / 1.86 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/5.293, allocations: 63.14 kB / 1.86 GB, free: 59.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/5.294, allocations: 1.204 MB / 1.861 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/5.295, allocations: 32.23 kB / 1.861 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/5.295, allocations: 0.6564 MB / 1.862 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/5.295, allocations: 204 kB / 1.862 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/5.295, allocations: 0 / 1.862 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001066/5.295, allocations: 337.2 kB / 1.863 GB, free: 58.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/5.296, allocations: 223.6 kB / 1.863 GB, free: 58.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/5.296, allocations: 0.5871 MB / 1.863 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/5.297, allocations: 358.6 kB / 1.864 GB, free: 58.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/5.297, allocations: 7.516 kB / 1.864 GB, free: 58.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001535/5.299, allocations: 0.8947 MB / 1.865 GB, free: 58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/5.299, allocations: 3.625 kB / 1.865 GB, free: 58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/5.299, allocations: 11 kB / 1.865 GB, free: 58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/5.299, allocations: 18.28 kB / 1.865 GB, free: 58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/5.299, allocations: 234 kB / 1.865 GB, free: 58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/5.299, allocations: 23.5 kB / 1.865 GB, free: 58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/5.301, allocations: 168.9 kB / 1.865 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/5.301, allocations: 50.55 kB / 1.865 GB, free: 57.95 MB / 0.6823 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.000223/5.301, allocations: 144.4 kB / 1.865 GB, free: 57.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/5.302, allocations: 169.8 kB / 1.865 GB, free: 57.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/5.303, allocations: 0.7621 MB / 1.866 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/5.303, allocations: 10.56 kB / 1.866 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/5.303, allocations: 3.25 kB / 1.866 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009033/5.304, allocations: 0.6948 MB / 1.867 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/5.309, allocations: 2.174 MB / 1.869 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/5.309, allocations: 3.156 kB / 1.869 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/5.309, allocations: 192.1 kB / 1.869 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/5.309, allocations: 7.844 kB / 1.869 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/5.31, allocations: 15.11 kB / 1.869 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/5.31, allocations: 6.25 kB / 1.869 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/5.31, allocations: 3.281 kB / 1.869 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001945/5.312, allocations: 1.324 MB / 1.871 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002499/5.314, allocations: 2.13 MB / 1.873 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/5.315, allocations: 365.3 kB / 1.873 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/5.315, allocations: 7.469 kB / 1.873 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/5.316, allocations: 119.9 kB / 1.873 GB, free: 55.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/5.317, allocations: 46.41 kB / 1.873 GB, free: 55.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/5.317, allocations: 41.23 kB / 1.873 GB, free: 55.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001501/5.318, allocations: 0.9081 MB / 1.874 GB, free: 55.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003923/5.322, allocations: 0.8523 MB / 1.875 GB, free: 55.28 MB / 0.6823 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.001991/5.324, allocations: 0.9572 MB / 1.876 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001227/5.325, allocations: 0.6164 MB / 1.876 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/5.325, allocations: 8.438 kB / 1.876 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/5.326, allocations: 308 kB / 1.877 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/5.331, allocations: 0.9296 MB / 1.878 GB, free: 55.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/5.336, allocations: 2.336 MB / 1.88 GB, free: 54.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/5.338, allocations: 1.601 MB / 1.881 GB, free: 53.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.813e-06/5.338, allocations: 3.719 kB / 1.881 GB, free: 53.6 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)