Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.004144/0.004144, allocations: 182.8 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.7315/0.7315, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.595/1.595, allocations: 221.3 MB / 395 MB, free: 10.18 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.001191/0.001191, allocations: 103.4 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4467/0.4479, allocations: 88.41 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.6374, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.919, allocations: 417.2 MB / 1.041 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.92, allocations: 67.38 kB / 1.041 GB, free: 186.5 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.05854/1.978, allocations: 23.21 MB / 1.063 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.978, allocations: 8 kB / 1.063 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/1.978, allocations: 7.906 kB / 1.064 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/1.978, allocations: 159.1 kB / 1.064 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/1.978, allocations: 33.64 kB / 1.064 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/1.978, allocations: 3.984 kB / 1.064 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.845e-05/1.978, allocations: 21.73 kB / 1.064 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/1.979, allocations: 40.38 kB / 1.064 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.979, allocations: 0 / 1.064 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.979, allocations: 3.906 kB / 1.064 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.979, allocations: 0 / 1.064 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/1.979, allocations: 0.5789 MB / 1.064 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.145e-05/1.979, allocations: 22.42 kB / 1.064 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/1.979, allocations: 4.859 kB / 1.064 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/1.98, allocations: 0.497 MB / 1.065 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/1.98, allocations: 38.5 kB / 1.065 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.98, allocations: 0 / 1.065 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002683/1.98, allocations: 41.69 kB / 1.065 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/1.98, allocations: 54.47 kB / 1.065 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/1.98, allocations: 93 kB / 1.065 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/1.98, allocations: 25.7 kB / 1.065 GB, free: 171 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/1.98, allocations: 91.23 kB / 1.065 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/1.98, allocations: 3.906 kB / 1.065 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/1.98, allocations: 0 / 1.065 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/1.98, allocations: 314.8 kB / 1.065 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/1.98, allocations: 11.28 kB / 1.065 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/1.98, allocations: 13.72 kB / 1.065 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/1.98, allocations: 19.97 kB / 1.066 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.98, allocations: 3.938 kB / 1.066 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002048/1.981, allocations: 56.73 kB / 1.066 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.981, allocations: 8 kB / 1.066 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/1.981, allocations: 0 / 1.066 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.981, allocations: 4.062 kB / 1.066 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/1.981, allocations: 4 kB / 1.066 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.981, allocations: 0 / 1.066 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/1.981, allocations: 7.906 kB / 1.066 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/1.981, allocations: 0 / 1.066 GB, free: 170.5 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 5.238e-05/1.981, allocations: 107.5 kB / 1.066 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/1.981, allocations: 4 kB / 1.066 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/1.981, allocations: 124.9 kB / 1.066 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/1.981, allocations: 180.2 kB / 1.066 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/1.981, allocations: 182.1 kB / 1.066 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/1.981, allocations: 176.3 kB / 1.066 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/1.981, allocations: 386.8 kB / 1.067 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.981, allocations: 114.4 kB / 1.067 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/1.981, allocations: 109 kB / 1.067 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.333e-05/1.981, allocations: 176.3 kB / 1.067 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/1.981, allocations: 180.2 kB / 1.067 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.313e-05/1.981, allocations: 182.4 kB / 1.067 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-05/1.981, allocations: 176.3 kB / 1.068 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.721e-05/1.981, allocations: 313.6 kB / 1.068 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001831/1.982, allocations: 0.6906 MB / 1.069 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/1.982, allocations: 179.4 kB / 1.069 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/1.982, allocations: 184.3 kB / 1.069 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.982, allocations: 116.8 kB / 1.069 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/1.982, allocations: 177.6 kB / 1.069 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/1.982, allocations: 101.3 kB / 1.069 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.565e-05/1.982, allocations: 81.22 kB / 1.069 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001065/1.983, allocations: 135.7 kB / 1.069 GB, free: 166.3 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.0007579/1.984, allocations: 0.738 MB / 1.07 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.105e-05/1.984, allocations: 5.188 kB / 1.07 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.984, allocations: 0 / 1.07 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/1.984, allocations: 0 / 1.07 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.984, allocations: 0.5241 MB / 1.071 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/1.984, allocations: 129.3 kB / 1.071 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/1.984, allocations: 0.6919 MB / 1.072 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/1.984, allocations: 0 / 1.072 GB, free: 164.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)