Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 1.902/1.902, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001586/0.001586, allocations: 177.2 kB / 315.1 MB, free: 4.305 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.692/1.692, allocations: 205.1 MB / 0.5658 GB, free: 316 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.001278/0.001278, allocations: 98.5 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4102/0.4115, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.5907, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5803/1.171, allocations: 133.1 MB / 1.013 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.171, allocations: 75.44 kB / 1.014 GB, free: 7.105 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0104/1.182, allocations: 2.009 MB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.182, allocations: 12 kB / 1.016 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006169/1.183, allocations: 31.02 kB / 1.016 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.183, allocations: 167 kB / 1.016 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.183, allocations: 3.906 kB / 1.016 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/1.183, allocations: 0 / 1.016 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001238/1.183, allocations: 22.19 kB / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/1.183, allocations: 52.97 kB / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/1.183, allocations: 0 / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.183, allocations: 0 / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.183, allocations: 0 / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/1.184, allocations: 251.6 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/1.184, allocations: 41.25 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/1.184, allocations: 19.73 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/1.184, allocations: 3.938 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/1.184, allocations: 34.56 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.184, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002361/1.184, allocations: 52.86 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/1.184, allocations: 57.94 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.184, allocations: 96.17 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/1.184, allocations: 29.73 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/1.184, allocations: 80.14 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/1.185, allocations: 7.906 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/1.185, allocations: 0 / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.185, allocations: 318.6 kB / 1.017 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/1.185, allocations: 11.31 kB / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/1.185, allocations: 11.81 kB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/1.185, allocations: 11.3 kB / 1.017 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.185, allocations: 4.062 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001589/1.185, allocations: 52.62 kB / 1.017 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.185, allocations: 4 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.185, allocations: 0 / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.185, allocations: 0 / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/1.185, allocations: 19.97 kB / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.185, allocations: 3.906 kB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/1.186, allocations: 16.02 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/1.186, allocations: 4 kB / 1.017 GB, free: 3.828 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 0.000131/1.186, allocations: 103.5 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/1.186, allocations: 0 / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/1.186, allocations: 15.17 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/1.186, allocations: 4 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.186, allocations: 0 / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.186, allocations: 3.938 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/1.186, allocations: 148.7 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.186, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/1.186, allocations: 23.97 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.186, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.186, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/1.186, allocations: 7.906 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.186, allocations: 0 / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002066/1.187, allocations: 155.1 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003354/1.187, allocations: 0.5255 MB / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/1.187, allocations: 77.11 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/1.187, allocations: 3.906 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/1.187, allocations: 11.98 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/1.187, allocations: 4 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.187, allocations: 4.031 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.747e-05/1.187, allocations: 82.97 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001149/1.189, allocations: 19.98 kB / 1.018 GB, free: 2.59 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.0002176/1.189, allocations: 111.8 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001331/1.189, allocations: 18.81 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.189, allocations: 0 / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/1.189, allocations: 22.73 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/1.189, allocations: 6.281 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/1.19, allocations: 86.5 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/1.19, allocations: 0.6919 MB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/1.19, allocations: 0 / 1.019 GB, free: 1.625 MB / 0.6355 GB