Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.003099/0.003099, allocations: 183 kB / 7.459 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.7662/0.7662, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.636/1.636, allocations: 221.3 MB / 395 MB, free: 10.27 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.001059/0.001059, allocations: 98.8 kB / 477.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.565/0.5661, allocations: 88.43 MB / 0.5529 GB, free: 88.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.7732, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6951/1.468, allocations: 111.5 MB / 0.7422 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.469, allocations: 79.33 kB / 0.7423 GB, free: 10.56 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.006589/1.475, allocations: 1.84 MB / 0.7441 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.475, allocations: 7.688 kB / 0.7441 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/1.476, allocations: 38.03 kB / 0.7441 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/1.476, allocations: 162.1 kB / 0.7443 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/1.476, allocations: 4.656 kB / 0.7443 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/1.476, allocations: 0 / 0.7443 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.26e-05/1.476, allocations: 16.56 kB / 0.7443 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/1.476, allocations: 41.03 kB / 0.7443 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.476, allocations: 0 / 0.7443 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.476, allocations: 3.906 kB / 0.7443 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.476, allocations: 3.844 kB / 0.7443 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/1.477, allocations: 134.4 kB / 0.7445 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/1.477, allocations: 37.36 kB / 0.7445 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/1.477, allocations: 10.5 kB / 0.7445 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/1.477, allocations: 3.938 kB / 0.7445 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/1.477, allocations: 38.84 kB / 0.7445 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.477, allocations: 1.203 kB / 0.7445 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/1.477, allocations: 50.25 kB / 0.7446 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.477, allocations: 55.44 kB / 0.7446 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/1.477, allocations: 90.42 kB / 0.7447 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.477, allocations: 29.61 kB / 0.7448 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/1.477, allocations: 83.95 kB / 0.7448 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/1.477, allocations: 9.484 kB / 0.7449 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/1.477, allocations: 0 / 0.7449 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.477, allocations: 310.8 kB / 0.7451 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/1.477, allocations: 8.359 kB / 0.7452 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/1.477, allocations: 11.84 kB / 0.7452 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/1.477, allocations: 13.22 kB / 0.7452 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.477, allocations: 0 / 0.7452 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/1.477, allocations: 49.69 kB / 0.7452 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.477, allocations: 5.469 kB / 0.7452 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.478, allocations: 0 / 0.7452 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/1.478, allocations: 0 / 0.7452 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/1.478, allocations: 10.95 kB / 0.7452 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.478, allocations: 0 / 0.7452 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/1.478, allocations: 9.641 kB / 0.7453 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/1.478, allocations: 3.906 kB / 0.7453 GB, free: 24.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.041e-05/1.478, allocations: 101 kB / 0.7454 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/1.478, allocations: 4.328 kB / 0.7454 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/1.478, allocations: 10.38 kB / 0.7454 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.478, allocations: 7.906 kB / 0.7454 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.478, allocations: 0 / 0.7454 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.478, allocations: 0 / 0.7454 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/1.478, allocations: 133.3 kB / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.478, allocations: 0 / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/1.478, allocations: 10.72 kB / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.478, allocations: 3.844 kB / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/1.478, allocations: 1.688 kB / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.478, allocations: 0 / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.478, allocations: 0 / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001268/1.478, allocations: 85.52 kB / 0.7456 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002568/1.479, allocations: 450.5 kB / 0.746 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/1.479, allocations: 86.72 kB / 0.7461 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.479, allocations: 64 / 0.7461 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/1.479, allocations: 5.406 kB / 0.7461 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/1.479, allocations: 7.781 kB / 0.7461 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/1.479, allocations: 7.875 kB / 0.7461 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.52e-05/1.479, allocations: 80.25 kB / 0.7462 GB, free: 24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007538/1.48, allocations: 11.53 kB / 0.7462 GB, free: 24 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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.0002092/1.48, allocations: 117.5 kB / 0.7463 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.957e-05/1.48, allocations: 24.56 kB / 0.7464 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.48, allocations: 0 / 0.7464 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/1.48, allocations: 16 kB / 0.7464 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/1.48, allocations: 5.172 kB / 0.7464 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/1.48, allocations: 68.48 kB / 0.7464 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/1.481, allocations: 0.696 MB / 0.7471 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.481, allocations: 128 / 0.7471 GB, free: 23.12 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)