Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.005099/0.005099, allocations: 181.8 kB / 7.454 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.9106/0.9106, 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.623/1.623, allocations: 221.3 MB / 395 MB, free: 10.2 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.001065/0.001065, allocations: 87.09 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4345/0.4356, allocations: 88.45 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.6301, allocations: 82.28 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7228/1.353, allocations: 315.5 MB / 0.9414 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.353, allocations: 80.14 kB / 0.9415 GB, free: 14.73 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.02167/1.375, allocations: 9.162 MB / 0.9505 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.375, allocations: 12 kB / 0.9505 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/1.375, allocations: 3.906 kB / 0.9505 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/1.375, allocations: 159.1 kB / 0.9506 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/1.375, allocations: 37.69 kB / 0.9507 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/1.375, allocations: 0 / 0.9507 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.707e-05/1.375, allocations: 15.12 kB / 0.9507 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.155e-05/1.375, allocations: 40.94 kB / 0.9507 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.375, allocations: 0 / 0.9507 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.375, allocations: 3.906 kB / 0.9507 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/1.375, allocations: 4 kB / 0.9507 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/1.376, allocations: 0.5743 MB / 0.9513 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/1.376, allocations: 26.52 kB / 0.9513 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/1.376, allocations: 8.797 kB / 0.9513 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/1.377, allocations: 363.3 kB / 0.9517 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/1.377, allocations: 34.56 kB / 0.9517 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.377, allocations: 0 / 0.9517 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0002491/1.377, allocations: 41.69 kB / 0.9518 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.377, allocations: 55.39 kB / 0.9518 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/1.377, allocations: 96.38 kB / 0.9519 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.377, allocations: 25.7 kB / 0.9519 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/1.377, allocations: 91.42 kB / 0.952 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-06/1.377, allocations: 3.906 kB / 0.952 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-06/1.377, allocations: 0 / 0.952 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.377, allocations: 318.8 kB / 0.9523 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/1.377, allocations: 4.031 kB / 0.9523 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/1.377, allocations: 17.22 kB / 0.9523 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/1.377, allocations: 23.91 kB / 0.9524 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.377, allocations: 0 / 0.9524 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001843/1.378, allocations: 61.3 kB / 0.9524 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.378, allocations: 4 kB / 0.9524 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.378, allocations: 0 / 0.9524 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/1.378, allocations: 4.062 kB / 0.9524 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.5e-05/1.378, allocations: 8 kB / 0.9524 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.378, allocations: 0 / 0.9524 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/1.378, allocations: 3.906 kB / 0.9524 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/1.378, allocations: 4 kB / 0.9524 GB, free: 5.055 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 7.386e-05/1.378, allocations: 104.9 kB / 0.9525 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/1.378, allocations: 0 / 0.9525 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/1.378, allocations: 131.5 kB / 0.9527 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.907e-05/1.378, allocations: 176.5 kB / 0.9528 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.26e-05/1.378, allocations: 188.1 kB / 0.953 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.713e-05/1.378, allocations: 180.2 kB / 0.9532 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/1.378, allocations: 381.1 kB / 0.9535 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.485e-05/1.378, allocations: 116.9 kB / 0.9537 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/1.378, allocations: 101 kB / 0.9538 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/1.379, allocations: 176.3 kB / 0.9539 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/1.379, allocations: 180.2 kB / 0.9541 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.87e-05/1.379, allocations: 184.3 kB / 0.9543 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.822e-05/1.379, allocations: 192.2 kB / 0.9545 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001426/1.379, allocations: 307.7 kB / 0.9547 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002496/1.379, allocations: 0.6727 MB / 0.9554 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/1.379, allocations: 185.6 kB / 0.9556 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/1.379, allocations: 180.3 kB / 0.9558 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.38, allocations: 116.8 kB / 0.9559 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/1.38, allocations: 176.3 kB / 0.956 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/1.38, allocations: 101 kB / 0.9561 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.732e-05/1.38, allocations: 91.14 kB / 0.9562 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008622/1.381, allocations: 35.19 kB / 0.9563 GB, free: 0.9414 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.0002771/1.381, allocations: 234.1 kB / 0.9565 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 6.845e-05/1.381, allocations: 16 kB / 0.9565 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.381, allocations: 0 / 0.9565 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.381, allocations: 0 / 0.9565 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/1.381, allocations: 0.5222 MB / 0.957 GB, free: 172 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/1.381, allocations: 131.3 kB / 0.9571 GB, free: 16 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1.382, allocations: 0.6919 MB / 0.9578 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/1.382, allocations: 0 / 0.9578 GB, free: 15.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)