Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_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.003111/0.003111, 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.6932/0.6932, 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.696/1.696, 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.0009424/0.0009424, allocations: 102.8 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4251/0.426, allocations: 88.42 MB / 0.5529 GB, free: 88.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.6101, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/1.124, allocations: 111.9 MB / 0.7426 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/1.124, allocations: 75.64 kB / 0.7427 GB, free: 10.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00634/1.13, allocations: 2.036 MB / 0.7447 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.131, allocations: 7.656 kB / 0.7447 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/1.131, allocations: 32.77 kB / 0.7447 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.131, allocations: 170.7 kB / 0.7449 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/1.131, allocations: 0 / 0.7449 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/1.131, allocations: 0 / 0.7449 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.511e-05/1.131, allocations: 26.25 kB / 0.7449 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/1.131, allocations: 46.12 kB / 0.7449 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.131, allocations: 4 kB / 0.7449 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.131, allocations: 0 / 0.7449 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.131, allocations: 0 / 0.7449 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/1.132, allocations: 249.1 kB / 0.7452 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/1.132, allocations: 43.75 kB / 0.7452 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/1.132, allocations: 16.98 kB / 0.7452 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/1.132, allocations: 4.938 kB / 0.7452 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/1.132, allocations: 30.56 kB / 0.7453 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/1.132, allocations: 0 / 0.7453 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001925/1.132, allocations: 49.52 kB / 0.7453 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/1.132, allocations: 55.16 kB / 0.7454 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/1.132, allocations: 93.64 kB / 0.7455 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/1.132, allocations: 25.7 kB / 0.7455 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/1.132, allocations: 84.17 kB / 0.7456 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/1.132, allocations: 9.172 kB / 0.7456 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/1.132, allocations: 0 / 0.7456 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.132, allocations: 318.6 kB / 0.7459 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/1.133, allocations: 8.844 kB / 0.7459 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/1.133, allocations: 11.98 kB / 0.7459 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/1.133, allocations: 15.83 kB / 0.7459 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.133, allocations: 0 / 0.7459 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/1.133, allocations: 65.75 kB / 0.746 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/1.133, allocations: 3.781 kB / 0.746 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.133, allocations: 0 / 0.746 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.133, allocations: 0 / 0.746 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.133, allocations: 17.66 kB / 0.746 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/1.133, allocations: 3.984 kB / 0.746 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.133, allocations: 21.64 kB / 0.746 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/1.133, allocations: 3.812 kB / 0.746 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 8.587e-05/1.133, allocations: 101 kB / 0.7461 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/1.133, allocations: 5.719 kB / 0.7461 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/1.133, allocations: 11.16 kB / 0.7461 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.133, allocations: 0 / 0.7461 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.133, allocations: 3.906 kB / 0.7461 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.133, allocations: 0 / 0.7461 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/1.133, allocations: 149 kB / 0.7463 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.133, allocations: 0 / 0.7463 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/1.134, allocations: 21.06 kB / 0.7463 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.134, allocations: 4 kB / 0.7463 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.134, allocations: 1.781 kB / 0.7463 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.134, allocations: 0 / 0.7463 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.134, allocations: 0 / 0.7463 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001421/1.134, allocations: 150.4 kB / 0.7464 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002709/1.134, allocations: 0.5239 MB / 0.747 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/1.134, allocations: 79.86 kB / 0.747 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.134, allocations: 1.875 kB / 0.747 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/1.134, allocations: 14.91 kB / 0.747 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/1.134, allocations: 10.84 kB / 0.7471 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/1.134, allocations: 1.453 kB / 0.7471 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.77e-05/1.134, allocations: 84.77 kB / 0.7471 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008103/1.135, allocations: 15.53 kB / 0.7472 GB, free: 23.85 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.000189/1.135, allocations: 108.6 kB / 0.7473 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001084/1.136, allocations: 26.86 kB / 0.7473 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.136, allocations: 0 / 0.7473 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/1.136, allocations: 15.92 kB / 0.7473 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/1.136, allocations: 8.062 kB / 0.7473 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/1.136, allocations: 86.25 kB / 0.7474 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/1.136, allocations: 0.7021 MB / 0.7481 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.136, allocations: 0 / 0.7481 GB, free: 22.98 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)