Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.1-maint.8.0.x/package.mo): time 1.413/1.413, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.00108/0.00108, allocations: 187.2 kB / 361.1 MB, free: 7.109 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.293/1.293, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008814/0.0008813, allocations: 72.22 kB / 0.7325 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2246/0.2256, allocations: 121.4 MB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.7342, allocations: 115.3 MB / 0.9638 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.227/3.962, allocations: 2.073 GB / 3.037 GB, free: 63.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/3.962, allocations: 83.34 kB / 3.037 GB, free: 63.04 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.5549/4.517, allocations: 90.45 MB / 3.125 GB, free: 318.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/4.517, allocations: 7.531 kB / 3.125 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008107/4.518, allocations: 92.69 kB / 3.126 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/4.518, allocations: 221.4 kB / 3.126 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/4.518, allocations: 37.5 kB / 3.126 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/4.518, allocations: 11.44 kB / 3.126 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000234/4.518, allocations: 112.3 kB / 3.126 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/4.519, allocations: 221.3 kB / 3.126 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/4.519, allocations: 0 / 3.126 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/4.519, allocations: 4.594 kB / 3.126 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/4.519, allocations: 7.156 kB / 3.126 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/4.52, allocations: 1.142 MB / 3.127 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/4.521, allocations: 179.9 kB / 3.127 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/4.521, allocations: 58.59 kB / 3.127 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/4.521, allocations: 4.938 kB / 3.127 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/4.521, allocations: 32.97 kB / 3.128 GB, free: 317.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/4.521, allocations: 1.281 kB / 3.128 GB, free: 317.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.001216/4.522, allocations: 270 kB / 3.128 GB, free: 317.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/4.522, allocations: 53.81 kB / 3.128 GB, free: 317.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/4.522, allocations: 133.7 kB / 3.128 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/4.522, allocations: 30.2 kB / 3.128 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/4.522, allocations: 143.8 kB / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/4.523, allocations: 41.16 kB / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/4.523, allocations: 0 / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/4.523, allocations: 322.6 kB / 3.128 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.019e-05/4.523, allocations: 52.19 kB / 3.129 GB, free: 316.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/4.523, allocations: 118.1 kB / 3.129 GB, free: 316.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/4.523, allocations: 64.72 kB / 3.129 GB, free: 316.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/4.523, allocations: 32 / 3.129 GB, free: 316.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00121/4.524, allocations: 320.2 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/4.524, allocations: 3.938 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/4.524, allocations: 3.906 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/4.525, allocations: 164 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/4.526, allocations: 46.73 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/4.529, allocations: 2.897 MB / 3.132 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/4.53, allocations: 41.92 kB / 3.132 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/4.53, allocations: 6.5 kB / 3.132 GB, free: 314 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/4.53, allocations: 111 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/4.53, allocations: 14.06 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/4.531, allocations: 331.9 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/4.531, allocations: 2.438 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/4.531, allocations: 3.906 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/4.531, allocations: 3.797 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/4.531, allocations: 237.7 kB / 3.133 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/4.531, allocations: 0 / 3.133 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/4.531, allocations: 30.8 kB / 3.133 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009629/4.532, allocations: 164.8 kB / 3.133 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/4.532, allocations: 1.219 kB / 3.133 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/4.536, allocations: 2.943 MB / 3.136 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/4.536, allocations: 0 / 3.136 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001208/4.537, allocations: 396.1 kB / 3.136 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001508/4.538, allocations: 0.7777 MB / 3.137 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/4.538, allocations: 105.8 kB / 3.137 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/4.538, allocations: 0 / 3.137 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/4.539, allocations: 22.5 kB / 3.137 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/4.539, allocations: 17.17 kB / 3.137 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/4.539, allocations: 3.969 kB / 3.137 GB, free: 310.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001046/4.539, allocations: 116.5 kB / 3.137 GB, free: 310.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001325/4.54, allocations: 182.6 kB / 3.137 GB, free: 310.3 MB / 0.948 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/4.542, allocations: 0.8332 MB / 3.138 GB, free: 310 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009311/4.543, allocations: 378.1 kB / 3.139 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/4.543, allocations: 0 / 3.139 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/4.543, allocations: 306.3 kB / 3.139 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/4.544, allocations: 33.38 kB / 3.139 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/4.545, allocations: 314.1 kB / 3.139 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/4.545, allocations: 0.7652 MB / 3.14 GB, free: 308.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/4.545, allocations: 0 / 3.14 GB, free: 308.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)