Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.003816/0.003816, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7064/0.7064, 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.525/1.525, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009169/0.000917, allocations: 111.2 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4711/0.472, allocations: 88.41 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.6369, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.846, allocations: 350.4 MB / 0.9755 GB, free: 266.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.847, allocations: 64.23 kB / 0.9755 GB, free: 266.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.03537/1.882, allocations: 13.27 MB / 0.9885 GB, free: 263.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/1.882, allocations: 10.09 kB / 0.9885 GB, free: 263.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/1.882, allocations: 9.406 kB / 0.9885 GB, free: 263.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/1.882, allocations: 163.2 kB / 0.9887 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/1.883, allocations: 27.73 kB / 0.9887 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/1.883, allocations: 5.031 kB / 0.9887 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001315/1.883, allocations: 13.56 kB / 0.9887 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/1.883, allocations: 44.97 kB / 0.9888 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.883, allocations: 3.938 kB / 0.9888 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/1.883, allocations: 3.906 kB / 0.9888 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/1.883, allocations: 5.484 kB / 0.9888 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/1.884, allocations: 309.9 kB / 0.9891 GB, free: 263.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/1.884, allocations: 28.86 kB / 0.9891 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/1.884, allocations: 6.141 kB / 0.9891 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.884, allocations: 86.73 kB / 0.9892 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.884, allocations: 30.56 kB / 0.9892 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/1.884, allocations: 1.375 kB / 0.9892 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003597/1.884, allocations: 34.19 kB / 0.9892 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.884, allocations: 51.41 kB / 0.9893 GB, free: 263 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.885, allocations: 98.41 kB / 0.9894 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/1.885, allocations: 25.7 kB / 0.9894 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/1.885, allocations: 88.36 kB / 0.9895 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/1.885, allocations: 4.844 kB / 0.9895 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.885, allocations: 0.7812 kB / 0.9895 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.885, allocations: 315.8 kB / 0.9898 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/1.885, allocations: 2.125 kB / 0.9898 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/1.885, allocations: 16.09 kB / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/1.885, allocations: 14.69 kB / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.885, allocations: 0 / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000126/1.885, allocations: 51.11 kB / 0.9899 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.885, allocations: 5 kB / 0.9899 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.885, allocations: 0 / 0.9899 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.885, allocations: 1.125 kB / 0.9899 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/1.885, allocations: 5.281 kB / 0.9899 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.885, allocations: 0 / 0.9899 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/1.885, allocations: 9.312 kB / 0.9899 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/1.885, allocations: 2.375 kB / 0.9899 GB, free: 262.4 MB / 0.6823 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.125e-05/1.885, allocations: 106.1 kB / 0.99 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/1.886, allocations: 1.375 kB / 0.99 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/1.886, allocations: 119.7 kB / 0.9901 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-05/1.886, allocations: 181.8 kB / 0.9903 GB, free: 262 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.146e-05/1.886, allocations: 191.6 kB / 0.9905 GB, free: 261.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-05/1.886, allocations: 177.5 kB / 0.9906 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/1.886, allocations: 384.4 kB / 0.991 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-05/1.886, allocations: 110.1 kB / 0.9911 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/1.886, allocations: 101 kB / 0.9912 GB, free: 261 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.571e-05/1.886, allocations: 185.3 kB / 0.9914 GB, free: 260.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/1.886, allocations: 181.4 kB / 0.9916 GB, free: 260.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.428e-05/1.886, allocations: 184.7 kB / 0.9917 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.553e-05/1.887, allocations: 177.6 kB / 0.9919 GB, free: 260.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000171/1.887, allocations: 307.5 kB / 0.9922 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002708/1.887, allocations: 0.679 MB / 0.9929 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/1.887, allocations: 182.4 kB / 0.993 GB, free: 259 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/1.887, allocations: 177.9 kB / 0.9932 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/1.887, allocations: 117.9 kB / 0.9933 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/1.887, allocations: 177.9 kB / 0.9935 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.887, allocations: 102.8 kB / 0.9936 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.468e-05/1.888, allocations: 84.83 kB / 0.9937 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009951/1.889, allocations: 24.84 kB / 0.9937 GB, free: 258.4 MB / 0.6823 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.0003477/1.889, allocations: 212.2 kB / 0.9939 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.698e-05/1.889, allocations: 5.406 kB / 0.9939 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.889, allocations: 0 / 0.9939 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/1.889, allocations: 1.469 kB / 0.9939 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/1.889, allocations: 0.5273 MB / 0.9944 GB, free: 257.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/1.89, allocations: 133.8 kB / 0.9945 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/1.89, allocations: 0.6893 MB / 0.9952 GB, free: 256.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/1.89, allocations: 0 / 0.9952 GB, free: 256.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)