Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.00425/0.00425, allocations: 178.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7371/0.7371, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.597/1.597, 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.000977/0.0009766, allocations: 89.94 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4904/0.4914, allocations: 88.43 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.6844, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7903/1.475, allocations: 315.5 MB / 0.9414 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.475, allocations: 81.27 kB / 0.9415 GB, free: 14.43 MB / 0.6667 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.02479/1.5, allocations: 9.156 MB / 0.9505 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/1.5, allocations: 12 kB / 0.9505 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/1.5, allocations: 3.906 kB / 0.9505 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.5, allocations: 163.1 kB / 0.9506 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.5, allocations: 33.7 kB / 0.9507 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/1.5, allocations: 0 / 0.9507 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/1.501, allocations: 15.31 kB / 0.9507 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/1.501, allocations: 41.38 kB / 0.9507 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.501, allocations: 0.8438 kB / 0.9507 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.501, allocations: 3.906 kB / 0.9507 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/1.501, allocations: 0 / 0.9507 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/1.502, allocations: 0.5845 MB / 0.9513 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/1.502, allocations: 22.48 kB / 0.9513 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/1.502, allocations: 12.73 kB / 0.9513 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/1.502, allocations: 358.5 kB / 0.9517 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.502, allocations: 34.55 kB / 0.9517 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 2.655e-06/1.502, allocations: 4 kB / 0.9517 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0003203/1.503, allocations: 52.73 kB / 0.9518 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/1.503, allocations: 51.41 kB / 0.9518 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/1.503, allocations: 91.81 kB / 0.9519 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.503, allocations: 29.7 kB / 0.9519 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/1.503, allocations: 87.98 kB / 0.952 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/1.503, allocations: 3.906 kB / 0.952 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/1.503, allocations: 0 / 0.952 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002379/1.503, allocations: 318 kB / 0.9523 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/1.503, allocations: 8.031 kB / 0.9523 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/1.503, allocations: 13.72 kB / 0.9523 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/1.503, allocations: 27.16 kB / 0.9524 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.503, allocations: 0 / 0.9524 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00023/1.504, allocations: 60.92 kB / 0.9524 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.504, allocations: 6.812 kB / 0.9524 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.504, allocations: 0 / 0.9524 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.504, allocations: 4.062 kB / 0.9524 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/1.504, allocations: 4 kB / 0.9524 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.504, allocations: 4 kB / 0.9524 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/1.504, allocations: 3.906 kB / 0.9524 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/1.504, allocations: 3.938 kB / 0.9524 GB, free: 4.746 MB / 0.6667 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 9.825e-05/1.504, allocations: 105 kB / 0.9525 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/1.504, allocations: 3.984 kB / 0.9526 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/1.504, allocations: 124.8 kB / 0.9527 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.129e-05/1.504, allocations: 176.3 kB / 0.9528 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001099/1.504, allocations: 180.2 kB / 0.953 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-05/1.505, allocations: 184.2 kB / 0.9532 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/1.505, allocations: 377.8 kB / 0.9535 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.683e-05/1.505, allocations: 116.8 kB / 0.9537 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/1.505, allocations: 101 kB / 0.9538 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.54e-05/1.505, allocations: 176.3 kB / 0.9539 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.104e-05/1.505, allocations: 184.2 kB / 0.9541 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-05/1.505, allocations: 180.3 kB / 0.9543 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-05/1.505, allocations: 192.2 kB / 0.9545 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002019/1.506, allocations: 306.8 kB / 0.9547 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003747/1.506, allocations: 0.6723 MB / 0.9554 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.506, allocations: 186 kB / 0.9556 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/1.506, allocations: 184.2 kB / 0.9558 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.506, allocations: 112.8 kB / 0.9559 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/1.506, allocations: 176.3 kB / 0.956 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/1.507, allocations: 101 kB / 0.9561 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.289e-05/1.507, allocations: 90.08 kB / 0.9562 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009687/1.508, allocations: 39.62 kB / 0.9563 GB, free: 0.6328 MB / 0.6667 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.0003503/1.508, allocations: 234.5 kB / 0.9565 GB, free: 408 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.872e-05/1.508, allocations: 12 kB / 0.9565 GB, free: 396 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.508, allocations: 0 / 0.9565 GB, free: 396 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.508, allocations: 0 / 0.9565 GB, free: 396 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/1.508, allocations: 0.5189 MB / 0.957 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/1.509, allocations: 135.3 kB / 0.9571 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/1.509, allocations: 0.6946 MB / 0.9578 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/1.509, allocations: 0 / 0.9578 GB, free: 14.99 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)