Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.003608/0.003608, allocations: 177.9 kB / 7.453 MB, free: 2.527 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7863/0.7863, 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.539/1.539, allocations: 221.3 MB / 395 MB, free: 10.19 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.001011/0.001011, allocations: 98.28 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4096/0.4106, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.5873, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.658/4.246, allocations: 1.675 GB / 2.308 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/4.246, allocations: 79.95 kB / 2.309 GB, free: 6.949 MB / 0.6823 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.4264/4.673, allocations: 26.46 MB / 2.334 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/4.673, allocations: 9.812 kB / 2.334 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005213/4.673, allocations: 43.64 kB / 2.334 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/4.673, allocations: 165 kB / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/4.673, allocations: 0.6562 kB / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/4.673, allocations: 1.188 kB / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.642e-05/4.673, allocations: 12.03 kB / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/4.673, allocations: 48.53 kB / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/4.673, allocations: 0 / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/4.673, allocations: 1.344 kB / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/4.673, allocations: 0.6094 kB / 2.335 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/4.674, allocations: 225.3 kB / 2.335 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.159e-05/4.674, allocations: 23.42 kB / 2.335 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/4.674, allocations: 13.06 kB / 2.335 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/4.674, allocations: 4.984 kB / 2.335 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/4.674, allocations: 36.61 kB / 2.335 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/4.674, allocations: 3.938 kB / 2.335 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/4.674, allocations: 37.62 kB / 2.335 GB, free: 258 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/4.674, allocations: 56.05 kB / 2.335 GB, free: 258 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/4.674, allocations: 102.2 kB / 2.335 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/4.674, allocations: 25.7 kB / 2.335 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/4.674, allocations: 86.19 kB / 2.335 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/4.674, allocations: 8.516 kB / 2.335 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/4.674, allocations: 1.281 kB / 2.335 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/4.674, allocations: 312.3 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/4.674, allocations: 4.156 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/4.674, allocations: 5.312 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/4.675, allocations: 9.188 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/4.675, allocations: 5.062 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001094/4.675, allocations: 43.98 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/4.675, allocations: 5.562 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/4.675, allocations: 3.938 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/4.675, allocations: 1.375 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/4.675, allocations: 9.562 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/4.675, allocations: 3.906 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/4.675, allocations: 9.359 kB / 2.336 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/4.675, allocations: 1.859 kB / 2.336 GB, free: 257.4 MB / 0.6823 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 (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 prepare postOptimizeDAE: time 6.537e-05/4.675, allocations: 107.1 kB / 2.336 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/4.675, allocations: 4.875 kB / 2.336 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/4.675, allocations: 9.484 kB / 2.336 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/4.675, allocations: 0 / 2.336 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/4.675, allocations: 0 / 2.336 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/4.675, allocations: 1.703 kB / 2.336 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/4.675, allocations: 132.8 kB / 2.336 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/4.675, allocations: 0 / 2.336 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/4.675, allocations: 4.484 kB / 2.336 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/4.675, allocations: 4 kB / 2.336 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/4.675, allocations: 0 / 2.336 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/4.675, allocations: 4.938 kB / 2.336 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/4.675, allocations: 0.75 kB / 2.336 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.019e-05/4.675, allocations: 134.7 kB / 2.336 GB, free: 257 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001971/4.676, allocations: 0.5197 MB / 2.337 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/4.676, allocations: 85.83 kB / 2.337 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/4.676, allocations: 5.594 kB / 2.337 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/4.676, allocations: 6.703 kB / 2.337 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/4.676, allocations: 2.109 kB / 2.337 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/4.676, allocations: 0 / 2.337 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.069e-05/4.676, allocations: 83.89 kB / 2.337 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001011/4.677, allocations: 94.36 kB / 2.337 GB, free: 256.2 MB / 0.6823 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.001141/4.678, allocations: 0.6648 MB / 2.337 GB, free: 256 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.847e-05/4.678, allocations: 18.8 kB / 2.337 GB, free: 256 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/4.678, allocations: 0 / 2.337 GB, free: 256 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/4.678, allocations: 8.078 kB / 2.337 GB, free: 256 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/4.678, allocations: 10.89 kB / 2.337 GB, free: 256 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/4.679, allocations: 66.39 kB / 2.338 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/4.679, allocations: 0.6953 MB / 2.338 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/4.679, allocations: 0 / 2.338 GB, free: 255.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)