Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.396/1.396, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001029/0.001029, allocations: 177.3 kB / 361.1 MB, free: 7.086 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.245/1.245, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008971/0.0008971, allocations: 93.25 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1985/0.1995, allocations: 121.4 MB / 0.8511 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.6844, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.214/3.899, allocations: 2.056 GB / 3.02 GB, free: 20.75 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/3.899, allocations: 75.95 kB / 3.02 GB, free: 20.67 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.4712/4.37, allocations: 58.41 MB / 3.077 GB, free: 319.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/4.37, allocations: 12.62 kB / 3.077 GB, free: 319.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/4.371, allocations: 55.88 kB / 3.077 GB, free: 319.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/4.371, allocations: 196.6 kB / 3.077 GB, free: 319.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/4.371, allocations: 3.719 kB / 3.077 GB, free: 319.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/4.371, allocations: 5.812 kB / 3.077 GB, free: 319.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001816/4.371, allocations: 85.55 kB / 3.077 GB, free: 319.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/4.371, allocations: 143.6 kB / 3.078 GB, free: 319.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/4.371, allocations: 6.141 kB / 3.078 GB, free: 319.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/4.372, allocations: 3.906 kB / 3.078 GB, free: 319.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/4.372, allocations: 3.594 kB / 3.078 GB, free: 319.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/4.372, allocations: 0.7845 MB / 3.078 GB, free: 318.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/4.373, allocations: 107.7 kB / 3.078 GB, free: 318.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/4.373, allocations: 49.23 kB / 3.078 GB, free: 318.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/4.373, allocations: 1.406 kB / 3.078 GB, free: 318.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/4.373, allocations: 35.81 kB / 3.079 GB, free: 318.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/4.373, allocations: 0 / 3.079 GB, free: 318.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8): time 0.0008087/4.374, allocations: 191.5 kB / 3.079 GB, free: 318.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/4.374, allocations: 53.12 kB / 3.079 GB, free: 318.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/4.374, allocations: 115.3 kB / 3.079 GB, free: 318.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/4.374, allocations: 25.7 kB / 3.079 GB, free: 318.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/4.374, allocations: 111.6 kB / 3.079 GB, free: 318 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/4.374, allocations: 30.12 kB / 3.079 GB, free: 317.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/4.374, allocations: 0.7188 kB / 3.079 GB, free: 317.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/4.374, allocations: 320.9 kB / 3.079 GB, free: 317.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/4.374, allocations: 44.38 kB / 3.079 GB, free: 317.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/4.374, allocations: 86.52 kB / 3.079 GB, free: 317.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/4.374, allocations: 49.44 kB / 3.08 GB, free: 317.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/4.374, allocations: 0.875 kB / 3.08 GB, free: 317.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007029/4.375, allocations: 215.7 kB / 3.08 GB, free: 317.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/4.375, allocations: 7.75 kB / 3.08 GB, free: 317.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/4.375, allocations: 0 / 3.08 GB, free: 317.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/4.376, allocations: 90.28 kB / 3.08 GB, free: 317.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/4.376, allocations: 39.03 kB / 3.08 GB, free: 317.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/4.377, allocations: 1.487 MB / 3.081 GB, free: 316.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/4.378, allocations: 30.86 kB / 3.081 GB, free: 316.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/4.378, allocations: 6.25 kB / 3.081 GB, free: 316.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/4.378, allocations: 111.5 kB / 3.081 GB, free: 315.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/4.378, allocations: 7.062 kB / 3.081 GB, free: 315.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/4.379, allocations: 249.2 kB / 3.082 GB, free: 315.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/4.379, allocations: 6.547 kB / 3.082 GB, free: 315.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/4.379, allocations: 0 / 3.082 GB, free: 315.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/4.379, allocations: 3.469 kB / 3.082 GB, free: 315.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/4.379, allocations: 217.7 kB / 3.082 GB, free: 315.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/4.379, allocations: 0.625 kB / 3.082 GB, free: 315.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/4.379, allocations: 39.94 kB / 3.082 GB, free: 315.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/4.38, allocations: 87.12 kB / 3.082 GB, free: 315.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/4.38, allocations: 0 / 3.082 GB, free: 315.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/4.381, allocations: 1.509 MB / 3.083 GB, free: 314.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/4.381, allocations: 0 / 3.083 GB, free: 314.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006633/4.382, allocations: 317.1 kB / 3.084 GB, free: 314.1 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007392/4.382, allocations: 0.6999 MB / 3.084 GB, free: 313.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/4.383, allocations: 85.22 kB / 3.085 GB, free: 313.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/4.383, allocations: 4.203 kB / 3.085 GB, free: 313.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/4.383, allocations: 21.31 kB / 3.085 GB, free: 313.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/4.383, allocations: 18.33 kB / 3.085 GB, free: 313.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/4.383, allocations: 5.984 kB / 3.085 GB, free: 313.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.888e-05/4.383, allocations: 92.56 kB / 3.085 GB, free: 313.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001011/4.384, allocations: 138.1 kB / 3.085 GB, free: 313.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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006893/4.385, allocations: 0.7128 MB / 3.086 GB, free: 313 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004848/4.385, allocations: 226.9 kB / 3.086 GB, free: 312.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/4.385, allocations: 0 / 3.086 GB, free: 312.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/4.385, allocations: 183.5 kB / 3.086 GB, free: 312.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/4.386, allocations: 19.58 kB / 3.086 GB, free: 312.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/4.386, allocations: 236.2 kB / 3.086 GB, free: 312.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/4.387, allocations: 0.7311 MB / 3.087 GB, free: 311.9 MB / 0.9323 GB Notification: Performance of SimCode: time 2.4e-07/4.387, allocations: 4 kB / 3.087 GB, free: 311.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)