Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 249.4 MB / 256.7 MB, free: 0.6953 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 180.2 kB / 316 MB, free: 8.906 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008402/0.0008403, allocations: 95.31 kB / 0.671 GB, free: 51.61 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.194/0.1949, allocations: 112.5 MB / 0.7808 GB, free: 9.832 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.6848, allocations: 106.3 MB / 0.8846 GB, free: 89 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.837, allocations: 131.8 MB / 1.013 GB, free: 13.79 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.8373, allocations: 78.67 kB / 1.013 GB, free: 13.71 MB / 0.659 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.006187/0.8435, allocations: 1.807 MB / 1.015 GB, free: 11.92 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.8436, allocations: 12.78 kB / 1.015 GB, free: 11.91 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.844, allocations: 30.89 kB / 1.015 GB, free: 11.89 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.8442, allocations: 167.1 kB / 1.015 GB, free: 11.68 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8442, allocations: 0.5938 kB / 1.015 GB, free: 11.68 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.8442, allocations: 3.906 kB / 1.015 GB, free: 11.68 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.807e-05/0.8443, allocations: 12.66 kB / 1.015 GB, free: 11.67 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.991e-05/0.8444, allocations: 46.2 kB / 1.015 GB, free: 11.62 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.8444, allocations: 0.9375 kB / 1.015 GB, free: 11.62 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.8444, allocations: 0 / 1.015 GB, free: 11.62 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.8445, allocations: 4 kB / 1.016 GB, free: 11.61 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.8446, allocations: 136.7 kB / 1.016 GB, free: 11.45 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 6.213e-05/0.8447, allocations: 34.59 kB / 1.016 GB, free: 11.4 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.8447, allocations: 8.922 kB / 1.016 GB, free: 11.39 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.8448, allocations: 4 kB / 1.016 GB, free: 11.39 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.8448, allocations: 35.81 kB / 1.016 GB, free: 11.34 MB / 0.659 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.8448, allocations: 0 / 1.016 GB, free: 11.34 MB / 0.659 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.845, allocations: 54.98 kB / 1.016 GB, free: 11.29 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.845, allocations: 51.41 kB / 1.016 GB, free: 11.22 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.8451, allocations: 89.75 kB / 1.016 GB, free: 11.13 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.8451, allocations: 25.7 kB / 1.016 GB, free: 11.1 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.8451, allocations: 84.17 kB / 1.016 GB, free: 11.01 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.8452, allocations: 15.84 kB / 1.016 GB, free: 11 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.8452, allocations: 0 / 1.016 GB, free: 11 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.8453, allocations: 314.8 kB / 1.016 GB, free: 10.68 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.8453, allocations: 4 kB / 1.016 GB, free: 10.68 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.8453, allocations: 9.312 kB / 1.016 GB, free: 10.67 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.8454, allocations: 7.984 kB / 1.016 GB, free: 10.66 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8454, allocations: 0 / 1.016 GB, free: 10.66 MB / 0.659 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.945e-05/0.8455, allocations: 49.75 kB / 1.016 GB, free: 10.61 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8455, allocations: 11.08 kB / 1.016 GB, free: 10.6 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8455, allocations: 4 kB / 1.016 GB, free: 10.59 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8455, allocations: 2.719 kB / 1.016 GB, free: 10.59 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.8457, allocations: 11.98 kB / 1.016 GB, free: 10.58 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8457, allocations: 3.938 kB / 1.016 GB, free: 10.58 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.8458, allocations: 7.938 kB / 1.016 GB, free: 10.57 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.8458, allocations: 3.984 kB / 1.016 GB, free: 10.57 MB / 0.659 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.43e-05/0.8458, allocations: 105 kB / 1.017 GB, free: 10.46 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.8459, allocations: 3.906 kB / 1.017 GB, free: 10.46 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.8459, allocations: 11.78 kB / 1.017 GB, free: 10.45 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.8459, allocations: 0 / 1.017 GB, free: 10.45 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8459, allocations: 0 / 1.017 GB, free: 10.45 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8459, allocations: 0 / 1.017 GB, free: 10.45 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.563e-05/0.846, allocations: 139.4 kB / 1.017 GB, free: 10.28 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8461, allocations: 4 kB / 1.017 GB, free: 10.28 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.8461, allocations: 7.984 kB / 1.017 GB, free: 10.27 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.8462, allocations: 7.906 kB / 1.017 GB, free: 10.26 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.8462, allocations: 0 / 1.017 GB, free: 10.26 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8462, allocations: 0 / 1.017 GB, free: 10.26 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8462, allocations: 0 / 1.017 GB, free: 10.26 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001177/0.8463, allocations: 69.11 kB / 1.017 GB, free: 10.18 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002011/0.8465, allocations: 469.4 kB / 1.017 GB, free: 9.699 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.8466, allocations: 81.11 kB / 1.017 GB, free: 9.602 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.8466, allocations: 11.89 kB / 1.017 GB, free: 9.59 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.8467, allocations: 0 / 1.017 GB, free: 9.59 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.8467, allocations: 0 / 1.017 GB, free: 9.59 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.8467, allocations: 4 kB / 1.017 GB, free: 9.586 MB / 0.659 GB Notification: Performance of sort global known variables: time 3.072e-05/0.8468, allocations: 79.31 kB / 1.017 GB, free: 9.508 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0007585/0.8475, allocations: 19.48 kB / 1.017 GB, free: 9.492 MB / 0.659 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.0002001/0.8477, allocations: 119.2 kB / 1.018 GB, free: 9.363 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.8478, allocations: 12 kB / 1.018 GB, free: 9.352 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8478, allocations: 4 kB / 1.018 GB, free: 9.348 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.8479, allocations: 15.92 kB / 1.018 GB, free: 9.332 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.848, allocations: 9.812 kB / 1.018 GB, free: 9.324 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.8483, allocations: 60.05 kB / 1.018 GB, free: 9.242 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.8486, allocations: 0.6919 MB / 1.018 GB, free: 8.523 MB / 0.659 GB Notification: Performance of SimCode: time 2.51e-07/0.8486, allocations: 0 / 1.018 GB, free: 8.523 MB / 0.659 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)