Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_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.003523/0.003523, allocations: 183 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7778/0.7778, 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.67/1.67, allocations: 221.3 MB / 395 MB, free: 10.18 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.001028/0.001028, allocations: 113.9 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5573/0.5584, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.7625, allocations: 82.3 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.124/4.886, allocations: 1.675 GB / 2.308 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/4.887, allocations: 87.94 kB / 2.309 GB, free: 5.109 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.4485/5.335, allocations: 26.45 MB / 2.334 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/5.335, allocations: 9.656 kB / 2.334 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/5.336, allocations: 39.11 kB / 2.334 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.181e-05/5.336, allocations: 167.2 kB / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/5.336, allocations: 0 / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/5.336, allocations: 1.125 kB / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.718e-05/5.336, allocations: 12.19 kB / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/5.336, allocations: 47.47 kB / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/5.336, allocations: 0.6094 kB / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/5.336, allocations: 1.562 kB / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/5.336, allocations: 0 / 2.335 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/5.336, allocations: 225.6 kB / 2.335 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/5.337, allocations: 32.17 kB / 2.335 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/5.337, allocations: 11.98 kB / 2.335 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/5.337, allocations: 4.969 kB / 2.335 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.098e-05/5.337, allocations: 32.69 kB / 2.335 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/5.337, allocations: 0 / 2.335 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000122/5.337, allocations: 33.92 kB / 2.335 GB, free: 257 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.49e-05/5.337, allocations: 55.41 kB / 2.335 GB, free: 257 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/5.337, allocations: 97.52 kB / 2.335 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/5.337, allocations: 28.06 kB / 2.335 GB, free: 256.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.944e-05/5.337, allocations: 89.2 kB / 2.335 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-06/5.337, allocations: 6.094 kB / 2.335 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/5.337, allocations: 3.938 kB / 2.335 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/5.337, allocations: 312.3 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/5.337, allocations: 8.781 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/5.337, allocations: 8.391 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/5.337, allocations: 5.984 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/5.337, allocations: 0 / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001002/5.337, allocations: 49.08 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/5.337, allocations: 8.953 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/5.337, allocations: 0 / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/5.337, allocations: 5.25 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/5.337, allocations: 9.609 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/5.337, allocations: 7.891 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/5.337, allocations: 9.281 kB / 2.336 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/5.337, allocations: 2.297 kB / 2.336 GB, free: 256.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 3.98e-05/5.338, allocations: 106.1 kB / 2.336 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/5.338, allocations: 5.656 kB / 2.336 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/5.338, allocations: 9.062 kB / 2.336 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/5.338, allocations: 0 / 2.336 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/5.338, allocations: 0.6562 kB / 2.336 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/5.338, allocations: 0.9688 kB / 2.336 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/5.338, allocations: 132.9 kB / 2.336 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/5.338, allocations: 0 / 2.336 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/5.338, allocations: 4.562 kB / 2.336 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/5.338, allocations: 0 / 2.336 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/5.338, allocations: 4.609 kB / 2.336 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/5.338, allocations: 5.125 kB / 2.336 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/5.338, allocations: 0 / 2.336 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.731e-05/5.338, allocations: 138.2 kB / 2.336 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001477/5.338, allocations: 0.525 MB / 2.337 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/5.338, allocations: 81.77 kB / 2.337 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/5.338, allocations: 4.562 kB / 2.337 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/5.338, allocations: 3.531 kB / 2.337 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/5.338, allocations: 0.7031 kB / 2.337 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/5.338, allocations: 1 kB / 2.337 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.086e-05/5.338, allocations: 86.95 kB / 2.337 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009531/5.339, allocations: 94.88 kB / 2.337 GB, free: 255.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.000899/5.34, allocations: 0.6566 MB / 2.337 GB, free: 255 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.411e-05/5.34, allocations: 15.02 kB / 2.337 GB, free: 255 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/5.34, allocations: 0 / 2.337 GB, free: 255 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/5.34, allocations: 7.906 kB / 2.337 GB, free: 255 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/5.34, allocations: 13.39 kB / 2.337 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/5.341, allocations: 69.23 kB / 2.338 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/5.341, allocations: 0.6957 MB / 2.338 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/5.341, allocations: 0 / 2.338 GB, free: 254.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)