Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.334/2.334, allocations: 284.8 MB / 292.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001632, allocations: 191.7 kB / 360.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.1 MB / 0.6187 GB, free: 13.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001267/0.001266, allocations: 89.64 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2889/0.2902, allocations: 121.4 MB / 0.8502 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.9896, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.126/6.115, allocations: 2.054 GB / 3.017 GB, free: 274.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/6.116, allocations: 85.2 kB / 3.017 GB, free: 274.4 MB / 0.9323 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.08986/6.206, allocations: 26.8 MB / 3.043 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/6.206, allocations: 11.81 kB / 3.043 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007454/6.206, allocations: 35.72 kB / 3.043 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/6.206, allocations: 166.4 kB / 3.043 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/6.207, allocations: 5.219 kB / 3.043 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/6.207, allocations: 0 / 3.043 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.213e-05/6.207, allocations: 6.719 kB / 3.043 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.44e-05/6.207, allocations: 47.61 kB / 3.044 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/6.207, allocations: 4 kB / 3.044 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/6.207, allocations: 0 / 3.044 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/6.207, allocations: 3.938 kB / 3.044 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/6.207, allocations: 221.4 kB / 3.044 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/6.207, allocations: 26.39 kB / 3.044 GB, free: 271 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/6.207, allocations: 16.2 kB / 3.044 GB, free: 271 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/6.207, allocations: 4 kB / 3.044 GB, free: 271 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/6.207, allocations: 33.98 kB / 3.044 GB, free: 271 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/6.207, allocations: 0 / 3.044 GB, free: 271 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/6.208, allocations: 33.52 kB / 3.044 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/6.208, allocations: 51.41 kB / 3.044 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/6.208, allocations: 99.86 kB / 3.044 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/6.208, allocations: 25.7 kB / 3.044 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/6.208, allocations: 92.02 kB / 3.044 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/6.208, allocations: 3.938 kB / 3.044 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/6.208, allocations: 0 / 3.044 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.074e-05/6.208, allocations: 317.9 kB / 3.044 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/6.208, allocations: 7.281 kB / 3.044 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/6.208, allocations: 8 kB / 3.044 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/6.208, allocations: 11.36 kB / 3.044 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/6.208, allocations: 0 / 3.044 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001481/6.208, allocations: 50.31 kB / 3.045 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/6.208, allocations: 3.969 kB / 3.045 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/6.208, allocations: 4 kB / 3.045 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/6.208, allocations: 0 / 3.045 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/6.208, allocations: 18.23 kB / 3.045 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/6.208, allocations: 0 / 3.045 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/6.209, allocations: 10.55 kB / 3.045 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/6.209, allocations: 1.406 kB / 3.045 GB, free: 270.3 MB / 0.9323 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 5.813e-05/6.209, allocations: 108.6 kB / 3.045 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/6.209, allocations: 4 kB / 3.045 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/6.209, allocations: 7.219 kB / 3.045 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/6.209, allocations: 2.531 kB / 3.045 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/6.209, allocations: 3.906 kB / 3.045 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/6.209, allocations: 0 / 3.045 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/6.209, allocations: 129 kB / 3.045 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/6.209, allocations: 7.844 kB / 3.045 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/6.209, allocations: 0 / 3.045 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.666e-06/6.209, allocations: 3.938 kB / 3.045 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/6.209, allocations: 3.625 kB / 3.045 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/6.209, allocations: 2.953 kB / 3.045 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/6.209, allocations: 7.906 kB / 3.045 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.397e-05/6.209, allocations: 126.8 kB / 3.045 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002271/6.209, allocations: 0.5211 MB / 3.045 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/6.21, allocations: 88.02 kB / 3.046 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/6.21, allocations: 4.656 kB / 3.046 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/6.21, allocations: 7.812 kB / 3.046 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/6.21, allocations: 0 / 3.046 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/6.21, allocations: 0 / 3.046 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.643e-05/6.21, allocations: 89.19 kB / 3.046 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001342/6.211, allocations: 85.55 kB / 3.046 GB, free: 269.2 MB / 0.9323 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.0009325/6.212, allocations: 0.6629 MB / 3.046 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001236/6.212, allocations: 15.25 kB / 3.046 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/6.212, allocations: 0 / 3.046 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/6.212, allocations: 9.375 kB / 3.046 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/6.213, allocations: 4.766 kB / 3.046 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/6.213, allocations: 66.66 kB / 3.046 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/6.213, allocations: 0.6901 MB / 3.047 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/6.213, allocations: 0 / 3.047 GB, free: 268.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)