Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.00132/0.00132, allocations: 183.3 kB / 7.463 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8011/0.8011, allocations: 133.5 MB / 141.4 MB, free: 3.734 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.729/1.729, allocations: 221.3 MB / 395 MB, free: 14.06 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 85.41 kB / 477.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.612/0.613, allocations: 88.43 MB / 0.5529 GB, free: 90.84 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.846, allocations: 82.3 MB / 0.6333 GB, free: 38.44 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/1.015, allocations: 111 MB / 0.7417 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.016, allocations: 75.95 kB / 0.7417 GB, free: 7.246 MB / 0.5294 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.003465/1.019, allocations: 1.018 MB / 0.7427 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.019, allocations: 8 kB / 0.7427 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/1.019, allocations: 7.906 kB / 0.7428 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.02, allocations: 167.1 kB / 0.7429 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/1.02, allocations: 0 / 0.7429 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/1.02, allocations: 0 / 0.7429 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/1.02, allocations: 15.84 kB / 0.7429 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/1.02, allocations: 41.69 kB / 0.743 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.02, allocations: 3.938 kB / 0.743 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.02, allocations: 0 / 0.743 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.02, allocations: 0 / 0.743 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/1.02, allocations: 237.3 kB / 0.7432 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/1.021, allocations: 22.58 kB / 0.7432 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/1.021, allocations: 8.922 kB / 0.7432 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/1.021, allocations: 4 kB / 0.7432 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.021, allocations: 34.56 kB / 0.7433 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.021, allocations: 0 / 0.7433 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002476/1.021, allocations: 41.69 kB / 0.7433 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/1.021, allocations: 55.34 kB / 0.7434 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/1.021, allocations: 93 kB / 0.7434 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.021, allocations: 25.7 kB / 0.7435 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/1.021, allocations: 84.17 kB / 0.7435 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/1.021, allocations: 7.891 kB / 0.7436 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.021, allocations: 0 / 0.7436 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.021, allocations: 322.8 kB / 0.7439 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/1.021, allocations: 0 / 0.7439 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/1.021, allocations: 8 kB / 0.7439 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/1.021, allocations: 4 kB / 0.7439 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.021, allocations: 0 / 0.7439 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.682e-05/1.021, allocations: 45.75 kB / 0.7439 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.021, allocations: 8 kB / 0.7439 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.021, allocations: 0 / 0.7439 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.022, allocations: 0 / 0.7439 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.022, allocations: 8 kB / 0.7439 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.022, allocations: 3.984 kB / 0.7439 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/1.022, allocations: 12.03 kB / 0.7439 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/1.022, allocations: 0 / 0.7439 GB, free: 4.785 MB / 0.5294 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.613e-05/1.022, allocations: 110.6 kB / 0.7441 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/1.022, allocations: 4.188 kB / 0.7441 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/1.022, allocations: 52.97 kB / 0.7441 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.022, allocations: 0 / 0.7441 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.022, allocations: 4 kB / 0.7441 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.022, allocations: 11.84 kB / 0.7441 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/1.022, allocations: 134.2 kB / 0.7443 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.022, allocations: 0 / 0.7443 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.111e-05/1.022, allocations: 11.98 kB / 0.7443 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.022, allocations: 4 kB / 0.7443 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.022, allocations: 0 / 0.7443 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.022, allocations: 4 kB / 0.7443 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.022, allocations: 4 kB / 0.7443 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001659/1.023, allocations: 151.3 kB / 0.7444 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00036/1.023, allocations: 0.5077 MB / 0.7449 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/1.023, allocations: 81.11 kB / 0.745 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/1.023, allocations: 3.984 kB / 0.745 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/1.023, allocations: 8 kB / 0.745 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/1.023, allocations: 11.89 kB / 0.745 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/1.023, allocations: 0 / 0.745 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.953e-05/1.023, allocations: 79.28 kB / 0.7451 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007933/1.024, allocations: 4 kB / 0.7451 GB, free: 3.504 MB / 0.5294 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 (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 Backend phase and start with SimCode phase: time 0.0001733/1.024, allocations: 101.4 kB / 0.7452 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001154/1.024, allocations: 15.94 kB / 0.7452 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.024, allocations: 0 / 0.7452 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/1.024, allocations: 12 kB / 0.7452 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.025, allocations: 3.984 kB / 0.7452 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/1.025, allocations: 59.92 kB / 0.7453 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/1.025, allocations: 0.6919 MB / 0.746 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/1.025, allocations: 0 / 0.746 GB, free: 2.562 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)