Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_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.003586/0.003586, allocations: 186.3 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.701/0.701, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.538/1.538, allocations: 221.3 MB / 395 MB, free: 10.19 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.00101/0.00101, allocations: 91.59 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4488/0.4499, allocations: 88.44 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.6385, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.8, allocations: 387.3 MB / 1.011 GB, free: 246.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004103/1.801, allocations: 93.27 kB / 1.012 GB, free: 246.8 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 2.902/4.703, allocations: 0.8121 GB / 1.824 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/4.703, allocations: 9.188 kB / 1.824 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/4.704, allocations: 269.8 kB / 1.824 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06139/4.766, allocations: 24.82 MB / 1.848 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/4.766, allocations: 43.5 kB / 1.848 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/4.766, allocations: 86.22 kB / 1.848 GB, free: 62.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001961/4.768, allocations: 0.8722 MB / 1.849 GB, free: 62.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/4.77, allocations: 1.202 MB / 1.85 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/4.77, allocations: 8.281 kB / 1.85 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/4.77, allocations: 3.125 kB / 1.85 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/4.77, allocations: 39.94 kB / 1.85 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0094/4.78, allocations: 7.598 MB / 1.858 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/4.781, allocations: 349.2 kB / 1.858 GB, free: 58.22 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/4.781, allocations: 270.7 kB / 1.858 GB, free: 58.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/4.782, allocations: 1.156 MB / 1.86 GB, free: 56.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/4.782, allocations: 48.28 kB / 1.86 GB, free: 56.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.456e-06/4.782, allocations: 0 / 1.86 GB, free: 56.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.001545/4.783, allocations: 0.6206 MB / 1.86 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/4.783, allocations: 59.66 kB / 1.86 GB, free: 56.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/4.785, allocations: 1.205 MB / 1.861 GB, free: 56.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/4.785, allocations: 34.61 kB / 1.861 GB, free: 56.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/4.786, allocations: 0.6506 MB / 1.862 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/4.786, allocations: 211 kB / 1.862 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/4.786, allocations: 0 / 1.862 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/4.786, allocations: 335 kB / 1.863 GB, free: 55.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/4.786, allocations: 227.2 kB / 1.863 GB, free: 55.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/4.787, allocations: 0.5918 MB / 1.863 GB, free: 55.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/4.788, allocations: 353.4 kB / 1.864 GB, free: 55.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/4.788, allocations: 3.156 kB / 1.864 GB, free: 55.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001568/4.789, allocations: 0.8945 MB / 1.865 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/4.789, allocations: 10.42 kB / 1.865 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/4.789, allocations: 10.81 kB / 1.865 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/4.789, allocations: 18.66 kB / 1.865 GB, free: 55.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/4.79, allocations: 231.4 kB / 1.865 GB, free: 55.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/4.79, allocations: 26.38 kB / 1.865 GB, free: 55.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/4.792, allocations: 170.1 kB / 1.865 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/4.792, allocations: 48.84 kB / 1.865 GB, free: 55.04 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.0002173/4.792, allocations: 140.1 kB / 1.865 GB, free: 54.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/4.792, allocations: 164.4 kB / 1.865 GB, free: 54.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/4.794, allocations: 0.7628 MB / 1.866 GB, free: 54.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/4.794, allocations: 7.094 kB / 1.866 GB, free: 54.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/4.794, allocations: 2.5 kB / 1.866 GB, free: 54.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009095/4.795, allocations: 0.6972 MB / 1.867 GB, free: 54.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/4.799, allocations: 2.175 MB / 1.869 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/4.799, allocations: 3.25 kB / 1.869 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/4.8, allocations: 188.8 kB / 1.869 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/4.8, allocations: 11.28 kB / 1.869 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/4.8, allocations: 16.58 kB / 1.869 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/4.8, allocations: 7.266 kB / 1.869 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/4.8, allocations: 0 / 1.869 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00174/4.801, allocations: 1.322 MB / 1.871 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002446/4.804, allocations: 2.132 MB / 1.873 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/4.805, allocations: 370 kB / 1.873 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/4.805, allocations: 3.406 kB / 1.873 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/4.806, allocations: 117.4 kB / 1.873 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/4.806, allocations: 47.06 kB / 1.873 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/4.806, allocations: 40.44 kB / 1.873 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001372/4.808, allocations: 0.9052 MB / 1.874 GB, free: 52.49 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003672/4.812, allocations: 0.8518 MB / 1.875 GB, free: 52.37 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.00211/4.814, allocations: 0.9696 MB / 1.876 GB, free: 52.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001223/4.815, allocations: 0.6196 MB / 1.876 GB, free: 52.13 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/4.815, allocations: 2.344 kB / 1.876 GB, free: 52.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/4.815, allocations: 307.2 kB / 1.877 GB, free: 52.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/4.821, allocations: 0.9299 MB / 1.878 GB, free: 52.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/4.826, allocations: 2.334 MB / 1.88 GB, free: 51.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/4.827, allocations: 1.606 MB / 1.881 GB, free: 50.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/4.827, allocations: 0 / 1.881 GB, free: 50.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)