Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.503/2.503, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001665/0.001665, allocations: 169.3 kB / 360.3 MB, free: 7.551 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.82/1.82, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001347/0.001346, allocations: 96.97 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2654/0.2668, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6209/0.8878, allocations: 115.2 MB / 0.9627 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5/5.888, allocations: 2.056 GB / 3.019 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/5.888, allocations: 84.5 kB / 3.019 GB, free: 274.9 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.1994/6.088, allocations: 58.41 MB / 3.076 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/6.088, allocations: 11.81 kB / 3.076 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009443/6.089, allocations: 59.73 kB / 3.076 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/6.089, allocations: 197.7 kB / 3.076 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/6.089, allocations: 0 / 3.076 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/6.089, allocations: 11.86 kB / 3.076 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003029/6.09, allocations: 79.77 kB / 3.076 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/6.09, allocations: 153.2 kB / 3.076 GB, free: 264.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/6.09, allocations: 3.906 kB / 3.076 GB, free: 264.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/6.09, allocations: 3.906 kB / 3.076 GB, free: 264.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/6.09, allocations: 0.5625 kB / 3.076 GB, free: 264.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/6.091, allocations: 0.7862 MB / 3.077 GB, free: 264.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/6.092, allocations: 96.08 kB / 3.077 GB, free: 264 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/6.092, allocations: 55.84 kB / 3.077 GB, free: 264 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/6.092, allocations: 3.969 kB / 3.077 GB, free: 264 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/6.092, allocations: 34.66 kB / 3.077 GB, free: 264 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/6.092, allocations: 0.6562 kB / 3.077 GB, free: 264 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8): time 0.001332/6.093, allocations: 195 kB / 3.078 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/6.093, allocations: 55.31 kB / 3.078 GB, free: 263.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/6.093, allocations: 116.6 kB / 3.078 GB, free: 263.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/6.093, allocations: 25.7 kB / 3.078 GB, free: 263.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/6.093, allocations: 106.4 kB / 3.078 GB, free: 263.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/6.093, allocations: 30.39 kB / 3.078 GB, free: 263.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/6.094, allocations: 4.656 kB / 3.078 GB, free: 263.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/6.094, allocations: 318.6 kB / 3.078 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/6.094, allocations: 38.39 kB / 3.078 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/6.094, allocations: 82.88 kB / 3.078 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/6.094, allocations: 53 kB / 3.078 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/6.094, allocations: 3.906 kB / 3.078 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00125/6.095, allocations: 210.1 kB / 3.079 GB, free: 263.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/6.095, allocations: 8.734 kB / 3.079 GB, free: 263.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/6.095, allocations: 3.906 kB / 3.079 GB, free: 263.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/6.096, allocations: 87.33 kB / 3.079 GB, free: 263 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/6.097, allocations: 39.38 kB / 3.079 GB, free: 263 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/6.1, allocations: 1.488 MB / 3.08 GB, free: 261.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/6.1, allocations: 31.42 kB / 3.08 GB, free: 261.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/6.1, allocations: 3.844 kB / 3.08 GB, free: 261.7 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 0.000101/6.1, allocations: 116.5 kB / 3.08 GB, free: 261.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/6.1, allocations: 7.812 kB / 3.08 GB, free: 261.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/6.102, allocations: 245.8 kB / 3.081 GB, free: 261.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/6.102, allocations: 0 / 3.081 GB, free: 261.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/6.102, allocations: 3.906 kB / 3.081 GB, free: 261.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/6.102, allocations: 3.984 kB / 3.081 GB, free: 261.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/6.102, allocations: 219.9 kB / 3.081 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/6.102, allocations: 0 / 3.081 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/6.102, allocations: 43.25 kB / 3.081 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009005/6.103, allocations: 87.05 kB / 3.081 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/6.103, allocations: 3.984 kB / 3.081 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/6.106, allocations: 1.511 MB / 3.082 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/6.106, allocations: 3.906 kB / 3.082 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001158/6.107, allocations: 309.8 kB / 3.083 GB, free: 259.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001312/6.108, allocations: 0.6917 MB / 3.083 GB, free: 259.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/6.108, allocations: 84.92 kB / 3.083 GB, free: 259 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/6.108, allocations: 0 / 3.083 GB, free: 259 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/6.109, allocations: 27.59 kB / 3.083 GB, free: 259 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/6.109, allocations: 15.45 kB / 3.083 GB, free: 259 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/6.109, allocations: 0 / 3.083 GB, free: 259 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.805e-05/6.109, allocations: 99.83 kB / 3.084 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001578/6.111, allocations: 134.6 kB / 3.084 GB, free: 258.9 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.001086/6.112, allocations: 0.7078 MB / 3.084 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008318/6.113, allocations: 236.2 kB / 3.085 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/6.113, allocations: 0 / 3.085 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/6.113, allocations: 186.3 kB / 3.085 GB, free: 258.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/6.113, allocations: 19.77 kB / 3.085 GB, free: 258.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/6.115, allocations: 225.1 kB / 3.085 GB, free: 258.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/6.115, allocations: 0.7388 MB / 3.086 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of SimCode: time 9.62e-07/6.115, allocations: 0 / 3.086 GB, free: 257.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)