Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 253.1 MB / 260.4 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001831/0.001831, allocations: 181.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 87.39 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.279e-05/1.296e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.086/6.321, allocations: 2.183 GB / 3.071 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/6.321, allocations: 84.52 kB / 3.071 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.083/7.405, allocations: 191.2 MB / 3.257 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.667e-05/7.405, allocations: 6.844 kB / 3.257 GB, free: 198.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00162/7.406, allocations: 0.6472 MB / 3.258 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/7.406, allocations: 11.5 kB / 3.258 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000754/7.407, allocations: 80.44 kB / 3.258 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/7.408, allocations: 297.8 kB / 3.258 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/7.408, allocations: 7.156 kB / 3.258 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/7.408, allocations: 16.88 kB / 3.258 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004961/7.408, allocations: 155.2 kB / 3.259 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/7.409, allocations: 233.3 kB / 3.259 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/7.409, allocations: 0 / 3.259 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/7.409, allocations: 0 / 3.259 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/7.409, allocations: 10.97 kB / 3.259 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/7.411, allocations: 1.216 MB / 3.26 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/7.412, allocations: 127.6 kB / 3.26 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/7.412, allocations: 86.33 kB / 3.26 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/7.413, allocations: 309.8 kB / 3.26 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/7.413, allocations: 33.38 kB / 3.26 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 2.244e-06/7.413, allocations: 0 / 3.26 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.001971/7.415, allocations: 304.1 kB / 3.261 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/7.415, allocations: 55.34 kB / 3.261 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/7.415, allocations: 183.9 kB / 3.261 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/7.415, allocations: 28.3 kB / 3.261 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/7.415, allocations: 149.8 kB / 3.261 GB, free: 196 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/7.415, allocations: 45.25 kB / 3.261 GB, free: 196 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/7.415, allocations: 0 / 3.261 GB, free: 196 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/7.415, allocations: 333.7 kB / 3.262 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/7.415, allocations: 54.95 kB / 3.262 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/7.416, allocations: 120.7 kB / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/7.416, allocations: 104.3 kB / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/7.416, allocations: 0 / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001573/7.418, allocations: 307.4 kB / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/7.418, allocations: 3.062 kB / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/7.418, allocations: 3.906 kB / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/7.419, allocations: 92.55 kB / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/7.419, allocations: 50.62 kB / 3.262 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/7.422, allocations: 1.503 MB / 3.264 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/7.423, allocations: 42.42 kB / 3.264 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/7.423, allocations: 8.531 kB / 3.264 GB, free: 194.3 MB / 0.8698 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 (16): * 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: 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.0001198/7.423, allocations: 112 kB / 3.264 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/7.423, allocations: 25.38 kB / 3.264 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/7.425, allocations: 309.2 kB / 3.264 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/7.425, allocations: 3.688 kB / 3.264 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/7.425, allocations: 3.75 kB / 3.264 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/7.425, allocations: 0 / 3.264 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/7.427, allocations: 0.6825 MB / 3.265 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/7.427, allocations: 3.906 kB / 3.265 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/7.427, allocations: 43.31 kB / 3.265 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009371/7.428, allocations: 95.16 kB / 3.265 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/7.428, allocations: 3.312 kB / 3.265 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/7.431, allocations: 1.526 MB / 3.266 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/7.431, allocations: 0 / 3.266 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00151/7.432, allocations: 440.4 kB / 3.267 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/7.433, allocations: 119.1 kB / 3.267 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/7.433, allocations: 2.969 kB / 3.267 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/7.433, allocations: 32.67 kB / 3.267 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/7.433, allocations: 20.75 kB / 3.267 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/7.433, allocations: 11.16 kB / 3.267 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001647/7.433, allocations: 143.5 kB / 3.267 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008202/7.434, allocations: 144.7 kB / 3.267 GB, free: 192.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 11 * 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.001736/7.436, allocations: 1.083 MB / 3.268 GB, free: 192 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001012/7.437, allocations: 268.6 kB / 3.269 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/7.437, allocations: 0 / 3.269 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/7.438, allocations: 205.1 kB / 3.269 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/7.439, allocations: 83.16 kB / 3.269 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/7.44, allocations: 352.7 kB / 3.269 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/7.44, allocations: 0.7955 MB / 3.27 GB, free: 191 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/7.44, allocations: 2.25 kB / 3.27 GB, free: 191 MB / 0.8698 GB Notification: Performance of Templates: time 0.02616/7.466, allocations: 10.27 MB / 3.28 GB, free: 190.8 MB / 0.8698 GB