Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_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.002548/0.002548, allocations: 179.5 kB / 7.453 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6485/0.6485, 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.698/1.698, allocations: 221.3 MB / 395 MB, free: 10.23 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.00126/0.00126, allocations: 103.9 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5086/0.5099, allocations: 88.43 MB / 0.5529 GB, free: 89.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.7164, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6822/1.399, allocations: 111.9 MB / 0.7426 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.399, allocations: 80.31 kB / 0.7427 GB, free: 10.55 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.006475/1.406, allocations: 2.037 MB / 0.7447 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.406, allocations: 7.844 kB / 0.7447 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/1.406, allocations: 31.8 kB / 0.7447 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/1.406, allocations: 168.2 kB / 0.7449 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.406, allocations: 1.812 kB / 0.7449 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/1.406, allocations: 5.75 kB / 0.7449 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.037e-05/1.406, allocations: 24.97 kB / 0.7449 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/1.406, allocations: 49.67 kB / 0.7449 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/1.406, allocations: 0 / 0.7449 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.406, allocations: 0 / 0.7449 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.406, allocations: 0 / 0.7449 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/1.407, allocations: 256.4 kB / 0.7452 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/1.407, allocations: 40.08 kB / 0.7452 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/1.407, allocations: 13.75 kB / 0.7452 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/1.407, allocations: 3.812 kB / 0.7452 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.407, allocations: 30.56 kB / 0.7453 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.407, allocations: 0 / 0.7453 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001842/1.407, allocations: 57.56 kB / 0.7453 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/1.407, allocations: 55.44 kB / 0.7454 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/1.407, allocations: 94.72 kB / 0.7455 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.407, allocations: 25.7 kB / 0.7455 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/1.407, allocations: 81.31 kB / 0.7456 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/1.407, allocations: 7.094 kB / 0.7456 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/1.407, allocations: 0 / 0.7456 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.408, allocations: 320.2 kB / 0.7459 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/1.408, allocations: 9.328 kB / 0.7459 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/1.408, allocations: 7.844 kB / 0.7459 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/1.408, allocations: 17.75 kB / 0.7459 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/1.408, allocations: 3.938 kB / 0.7459 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001/1.408, allocations: 52.56 kB / 0.746 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.408, allocations: 3.812 kB / 0.746 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.408, allocations: 0 / 0.746 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/1.408, allocations: 0 / 0.746 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.408, allocations: 20.94 kB / 0.746 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.408, allocations: 3.938 kB / 0.746 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.408, allocations: 17.91 kB / 0.746 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.408, allocations: 8 kB / 0.746 GB, free: 24.85 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.976e-05/1.408, allocations: 101 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/1.408, allocations: 0 / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/1.408, allocations: 17 kB / 0.7461 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.408, allocations: 0 / 0.7461 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.408, allocations: 3.906 kB / 0.7461 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.408, allocations: 0 / 0.7461 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/1.408, allocations: 148.4 kB / 0.7463 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.409, allocations: 3.75 kB / 0.7463 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.409, allocations: 17.05 kB / 0.7463 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.409, allocations: 3.844 kB / 0.7463 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/1.409, allocations: 1.781 kB / 0.7463 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.409, allocations: 0 / 0.7463 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.409, allocations: 0 / 0.7463 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001467/1.409, allocations: 151.5 kB / 0.7464 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003195/1.409, allocations: 0.5267 MB / 0.747 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/1.409, allocations: 77.11 kB / 0.747 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/1.409, allocations: 1.547 kB / 0.747 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.409, allocations: 15.02 kB / 0.747 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/1.409, allocations: 9.422 kB / 0.7471 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/1.409, allocations: 1.734 kB / 0.7471 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.815e-05/1.409, allocations: 82.72 kB / 0.7471 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000786/1.41, allocations: 17.47 kB / 0.7472 GB, free: 23.74 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.0001768/1.41, allocations: 111.5 kB / 0.7473 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.411, allocations: 29.14 kB / 0.7473 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.411, allocations: 0 / 0.7473 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/1.411, allocations: 19.84 kB / 0.7473 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/1.411, allocations: 6.594 kB / 0.7473 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/1.411, allocations: 78.45 kB / 0.7474 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/1.411, allocations: 0.6967 MB / 0.7481 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.412, allocations: 0 / 0.7481 GB, free: 22.86 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)