Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_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.00401/0.00401, allocations: 183 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7339/0.7339, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.508/1.508, 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.001037/0.001037, allocations: 106.5 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5048/0.5059, allocations: 88.42 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.6904, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5886/1.279, allocations: 111.5 MB / 0.7422 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/1.279, allocations: 74.88 kB / 0.7423 GB, free: 10.75 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.005567/1.285, allocations: 1.849 MB / 0.7441 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.285, allocations: 7.656 kB / 0.7441 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/1.285, allocations: 31.16 kB / 0.7441 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/1.285, allocations: 164.3 kB / 0.7443 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/1.286, allocations: 0 / 0.7443 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/1.286, allocations: 1.75 kB / 0.7443 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.052e-05/1.286, allocations: 17.17 kB / 0.7443 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.511e-05/1.286, allocations: 49.36 kB / 0.7443 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/1.286, allocations: 0 / 0.7443 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.286, allocations: 3.906 kB / 0.7443 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.286, allocations: 0 / 0.7443 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/1.286, allocations: 133.2 kB / 0.7445 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/1.286, allocations: 29.38 kB / 0.7445 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/1.286, allocations: 14.22 kB / 0.7445 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/1.286, allocations: 7.844 kB / 0.7445 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.286, allocations: 32.3 kB / 0.7445 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/1.286, allocations: 0 / 0.7445 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/1.286, allocations: 52.69 kB / 0.7446 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/1.286, allocations: 52.77 kB / 0.7446 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/1.286, allocations: 92.66 kB / 0.7447 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/1.286, allocations: 27.62 kB / 0.7448 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/1.286, allocations: 81.59 kB / 0.7448 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/1.286, allocations: 11.88 kB / 0.7449 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/1.286, allocations: 0 / 0.7449 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/1.287, allocations: 316.5 kB / 0.7452 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/1.287, allocations: 6.719 kB / 0.7452 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/1.287, allocations: 8.484 kB / 0.7452 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/1.287, allocations: 5.359 kB / 0.7452 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.287, allocations: 0 / 0.7452 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.646e-05/1.287, allocations: 53.33 kB / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.287, allocations: 11.88 kB / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/1.287, allocations: 3.844 kB / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.287, allocations: 1.641 kB / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.287, allocations: 6.656 kB / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.287, allocations: 0 / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/1.287, allocations: 12.86 kB / 0.7453 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/1.287, allocations: 1.359 kB / 0.7453 GB, free: 25.15 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 6.913e-05/1.287, allocations: 101 kB / 0.7454 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/1.287, allocations: 7.844 kB / 0.7454 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/1.287, allocations: 4.672 kB / 0.7454 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.287, allocations: 3.906 kB / 0.7454 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.287, allocations: 1.75 kB / 0.7454 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.287, allocations: 192 / 0.7454 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/1.287, allocations: 133 kB / 0.7455 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.287, allocations: 3.984 kB / 0.7455 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/1.287, allocations: 14.84 kB / 0.7455 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.287, allocations: 0.7969 kB / 0.7455 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.287, allocations: 0.5625 kB / 0.7455 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.287, allocations: 0.6094 kB / 0.7455 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.287, allocations: 0 / 0.7455 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000113/1.288, allocations: 77.31 kB / 0.7456 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002139/1.288, allocations: 465.1 kB / 0.746 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/1.288, allocations: 80.2 kB / 0.7461 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/1.288, allocations: 0.7031 kB / 0.7461 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/1.288, allocations: 6.109 kB / 0.7461 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/1.288, allocations: 0.6094 kB / 0.7461 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/1.288, allocations: 4.938 kB / 0.7461 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.569e-05/1.288, allocations: 86.95 kB / 0.7462 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007564/1.289, allocations: 12.59 kB / 0.7462 GB, free: 24.18 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.0001941/1.289, allocations: 122.8 kB / 0.7463 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.854e-05/1.289, allocations: 16.44 kB / 0.7464 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.289, allocations: 0 / 0.7464 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/1.289, allocations: 14.06 kB / 0.7464 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/1.289, allocations: 17.08 kB / 0.7464 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/1.29, allocations: 64.12 kB / 0.7464 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/1.29, allocations: 0.6949 MB / 0.7471 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/1.29, allocations: 0 / 0.7471 GB, free: 23.3 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)