Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [: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.001033/0.001033, allocations: 179.4 kB / 7.461 MB, free: 468 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6014/0.6014, allocations: 133.5 MB / 141.4 MB, free: 3.715 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.3 MB / 395 MB, free: 14.01 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009311, allocations: 97.95 kB / 477.8 MB, free: 3.906 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 5.219e-06/5.4e-06, allocations: 0 / 0.5528 GB, free: 90.78 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 82.3 MB / 0.6332 GB, free: 38.47 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5117/0.6364, allocations: 350.4 MB / 0.9754 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.6366, allocations: 67.34 kB / 0.9754 GB, free: 14.6 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.02494/0.6616, allocations: 12.95 MB / 0.9881 GB, free: 4.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.6616, allocations: 0 / 0.9881 GB, free: 4.57 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002754/0.6619, allocations: 334.3 kB / 0.9884 GB, free: 4.203 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.6619, allocations: 8.031 kB / 0.9884 GB, free: 4.195 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.662, allocations: 7.906 kB / 0.9884 GB, free: 4.188 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6621, allocations: 174.9 kB / 0.9886 GB, free: 3.977 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.6622, allocations: 25.7 kB / 0.9886 GB, free: 3.945 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.6622, allocations: 4 kB / 0.9886 GB, free: 3.941 MB / 0.67 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.891e-05/0.6622, allocations: 8 kB / 0.9886 GB, free: 3.934 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.872e-05/0.6623, allocations: 45.44 kB / 0.9887 GB, free: 3.887 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6623, allocations: 0 / 0.9887 GB, free: 3.887 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6624, allocations: 3.906 kB / 0.9887 GB, free: 3.883 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.6624, allocations: 7.984 kB / 0.9887 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.6628, allocations: 306 kB / 0.989 GB, free: 3.527 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.323e-05/0.6628, allocations: 22.42 kB / 0.989 GB, free: 3.496 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.6628, allocations: 8.844 kB / 0.989 GB, free: 3.484 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.408e-05/0.6629, allocations: 89.16 kB / 0.9891 GB, free: 3.379 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.6629, allocations: 34.56 kB / 0.9891 GB, free: 3.336 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6629, allocations: 0 / 0.9891 GB, free: 3.336 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.6631, allocations: 33.64 kB / 0.9892 GB, free: 3.301 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.6631, allocations: 51.41 kB / 0.9892 GB, free: 3.238 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.6632, allocations: 96.98 kB / 0.9893 GB, free: 3.137 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.6632, allocations: 25.7 kB / 0.9893 GB, free: 3.105 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.6633, allocations: 87.92 kB / 0.9894 GB, free: 3.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.6633, allocations: 3.906 kB / 0.9894 GB, free: 3.016 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.6633, allocations: 7.969 kB / 0.9894 GB, free: 3.008 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.6634, allocations: 314.8 kB / 0.9897 GB, free: 2.691 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.6634, allocations: 7.922 kB / 0.9897 GB, free: 2.684 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.6634, allocations: 17.59 kB / 0.9897 GB, free: 2.664 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.6635, allocations: 4 kB / 0.9897 GB, free: 2.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6635, allocations: 4 kB / 0.9897 GB, free: 2.656 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.87e-05/0.6636, allocations: 45.72 kB / 0.9898 GB, free: 2.605 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.6636, allocations: 7.984 kB / 0.9898 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6636, allocations: 0 / 0.9898 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6636, allocations: 4 kB / 0.9898 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.351e-05/0.6637, allocations: 7.938 kB / 0.9898 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.6637, allocations: 0 / 0.9898 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.6637, allocations: 3.906 kB / 0.9898 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.6637, allocations: 4 kB / 0.9898 GB, free: 2.578 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.072e-05/0.6638, allocations: 101 kB / 0.9899 GB, free: 2.473 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.6638, allocations: 3.812 kB / 0.9899 GB, free: 2.473 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.6639, allocations: 124.9 kB / 0.99 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.664, allocations: 184.2 kB / 0.9902 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/0.6641, allocations: 176.3 kB / 0.9904 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.908e-05/0.6641, allocations: 176.3 kB / 0.9905 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.6643, allocations: 397.5 kB / 0.9909 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/0.6644, allocations: 101 kB / 0.991 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.6644, allocations: 105 kB / 0.9911 GB, free: 1.152 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.307e-05/0.6645, allocations: 180.2 kB / 0.9913 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.6645, allocations: 184.3 kB / 0.9915 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.565e-05/0.6646, allocations: 180.2 kB / 0.9916 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.312e-05/0.6646, allocations: 184.2 kB / 0.9918 GB, free: 420 kB / 0.67 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001154/0.6647, allocations: 303.8 kB / 0.9921 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.6648, allocations: 195.5 kB / 0.9923 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.6649, allocations: 184.1 kB / 0.9925 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.665, allocations: 109 kB / 0.9926 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.6651, allocations: 180.2 kB / 0.9927 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.6651, allocations: 104.9 kB / 0.9928 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.65e-05/0.6652, allocations: 83.27 kB / 0.9929 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002496/0.6654, allocations: 23.75 kB / 0.9929 GB, free: 15.18 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001909/0.6656, allocations: 204.6 kB / 0.9931 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 5.401e-05/0.6657, allocations: 11.94 kB / 0.9932 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6657, allocations: 0 / 0.9932 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6657, allocations: 128 / 0.9932 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.666, allocations: 0.5299 MB / 0.9937 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.6662, allocations: 119.5 kB / 0.9938 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.6664, allocations: 0.6919 MB / 0.9945 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of SimCode: time 2e-07/0.6664, allocations: 0 / 0.9945 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of Templates: time 0.002414/0.6688, allocations: 0.734 MB / 0.9952 GB, free: 12.85 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)