Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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 7.0.1/package.mo): time 2.161/2.161, allocations: 248.6 MB / 255.9 MB, free: 7.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001832/0.001832, allocations: 179.9 kB / 315.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.1 MB / 0.5658 GB, free: 400 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 86.47 kB / 0.67 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4715/0.4729, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.6989, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.005/6.704, allocations: 2.183 GB / 3.066 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/6.705, allocations: 85.58 kB / 3.066 GB, free: 186.4 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 1.183/7.888, allocations: 191.9 MB / 3.253 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/7.888, allocations: 6.5 kB / 3.253 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/7.889, allocations: 79.48 kB / 3.254 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/7.89, allocations: 301.9 kB / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/7.89, allocations: 12.59 kB / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/7.89, allocations: 12.72 kB / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000747/7.891, allocations: 153.7 kB / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/7.892, allocations: 242.1 kB / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/7.892, allocations: 3.375 kB / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/7.892, allocations: 0 / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/7.892, allocations: 5.875 kB / 3.254 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/7.896, allocations: 1.218 MB / 3.255 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/7.896, allocations: 128.3 kB / 3.256 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/7.897, allocations: 87.25 kB / 3.256 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/7.898, allocations: 305 kB / 3.256 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/7.898, allocations: 35.5 kB / 3.256 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 5.159e-06/7.898, allocations: 0 / 3.256 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.003012/7.901, allocations: 304.7 kB / 3.256 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/7.901, allocations: 61.75 kB / 3.256 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/7.902, allocations: 175.2 kB / 3.256 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/7.902, allocations: 25.7 kB / 3.256 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/7.902, allocations: 152.6 kB / 3.257 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/7.902, allocations: 49.06 kB / 3.257 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/7.902, allocations: 0 / 3.257 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/7.902, allocations: 333.8 kB / 3.257 GB, free: 254 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/7.902, allocations: 56.66 kB / 3.257 GB, free: 254 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/7.903, allocations: 116 kB / 3.257 GB, free: 254 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/7.903, allocations: 101.4 kB / 3.257 GB, free: 254 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/7.903, allocations: 0 / 3.257 GB, free: 254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002359/7.906, allocations: 301.9 kB / 3.258 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/7.906, allocations: 7.625 kB / 3.258 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/7.906, allocations: 3.188 kB / 3.258 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/7.907, allocations: 90.77 kB / 3.258 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/7.908, allocations: 57.44 kB / 3.258 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/7.913, allocations: 1.501 MB / 3.259 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/7.914, allocations: 46.02 kB / 3.259 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/7.914, allocations: 12.44 kB / 3.259 GB, free: 252.7 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.000127/7.914, allocations: 113.5 kB / 3.259 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/7.914, allocations: 20.69 kB / 3.259 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/7.916, allocations: 318.1 kB / 3.26 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/7.916, allocations: 0 / 3.26 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/7.916, allocations: 0 / 3.26 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/7.916, allocations: 2.25 kB / 3.26 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/7.918, allocations: 0.6814 MB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/7.918, allocations: 2.156 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/7.919, allocations: 49.27 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009588/7.92, allocations: 92.44 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/7.92, allocations: 10.5 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/7.923, allocations: 1.521 MB / 3.262 GB, free: 251 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/7.923, allocations: 3.719 kB / 3.262 GB, free: 251 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001596/7.925, allocations: 434.5 kB / 3.262 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001843/7.926, allocations: 0.8448 MB / 3.263 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/7.927, allocations: 118.1 kB / 3.263 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/7.927, allocations: 2.719 kB / 3.263 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/7.927, allocations: 42.3 kB / 3.263 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/7.927, allocations: 15.67 kB / 3.263 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/7.927, allocations: 11.3 kB / 3.263 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001762/7.928, allocations: 142.1 kB / 3.263 GB, free: 250 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001915/7.93, allocations: 235 kB / 3.264 GB, free: 250 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.001825/7.931, allocations: 1.073 MB / 3.265 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001055/7.933, allocations: 265.9 kB / 3.265 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/7.933, allocations: 3.906 kB / 3.265 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006267/7.933, allocations: 204.8 kB / 3.265 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009783/7.934, allocations: 89.25 kB / 3.265 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/7.935, allocations: 351.7 kB / 3.266 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/7.936, allocations: 0.8036 MB / 3.266 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/7.936, allocations: 0 / 3.266 GB, free: 248.7 MB / 0.8698 GB