Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 1.919/1.919, allocations: 248.6 MB / 255.9 MB, free: 7.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 188.1 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 0.5658 GB, free: 300 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 85.56 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4075/0.4087, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.5856, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5571/1.143, allocations: 132.7 MB / 1.013 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.143, allocations: 77.33 kB / 1.013 GB, free: 7.484 MB / 0.6355 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.009043/1.152, allocations: 1.806 MB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.152, allocations: 12 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/1.153, allocations: 27.86 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.153, allocations: 163.1 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/1.153, allocations: 0 / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/1.153, allocations: 0 / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.256e-05/1.153, allocations: 20.83 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/1.153, allocations: 41.17 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/1.153, allocations: 7.938 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/1.153, allocations: 0 / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.153, allocations: 4 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/1.153, allocations: 137.3 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/1.154, allocations: 34.41 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/1.154, allocations: 12.23 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/1.154, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/1.154, allocations: 34.56 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/1.154, allocations: 0 / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002058/1.154, allocations: 55.7 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.154, allocations: 55.34 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/1.154, allocations: 91.62 kB / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/1.154, allocations: 26.73 kB / 1.016 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/1.154, allocations: 80.14 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/1.154, allocations: 15.66 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/1.154, allocations: 4.031 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.154, allocations: 310.8 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-05/1.154, allocations: 7.984 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/1.154, allocations: 7.938 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/1.154, allocations: 4 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.154, allocations: 0 / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001439/1.155, allocations: 52.05 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.155, allocations: 4 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/1.155, allocations: 7.938 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.155, allocations: 8 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/1.155, allocations: 11.98 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/1.155, allocations: 0 / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/1.155, allocations: 4 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/1.155, allocations: 0 / 1.016 GB, free: 4.531 MB / 0.6355 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 7.737e-05/1.155, allocations: 104.9 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/1.155, allocations: 3.906 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/1.155, allocations: 19.25 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.155, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.155, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.155, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/1.155, allocations: 141.8 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.155, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/1.155, allocations: 7.984 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.155, allocations: 4 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.156, allocations: 7.906 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.156, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.156, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001505/1.156, allocations: 71.05 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002905/1.156, allocations: 467 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/1.156, allocations: 81.09 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/1.156, allocations: 4 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.156, allocations: 7.891 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/1.156, allocations: 0 / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/1.156, allocations: 4 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.596e-05/1.156, allocations: 75.28 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001082/1.157, allocations: 16 kB / 1.017 GB, free: 3.461 MB / 0.6355 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.0002301/1.158, allocations: 125.9 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000132/1.158, allocations: 19.3 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.158, allocations: 0 / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/1.158, allocations: 18.8 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/1.158, allocations: 5.688 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/1.158, allocations: 63.28 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.159, allocations: 0.6957 MB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/1.159, allocations: 0 / 1.018 GB, free: 2.492 MB / 0.6355 GB