Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.418/1.418, allocations: 285.5 MB / 292.8 MB, free: 9.891 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.001049/0.001049, allocations: 189.2 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 0.6195 GB, free: 2.941 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 92.08 kB / 0.7326 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4462/0.4471, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.6368, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.883/4.52, allocations: 2.063 GB / 3.027 GB, free: 315.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/4.52, allocations: 91.5 kB / 3.027 GB, free: 315.5 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.3506/4.871, allocations: 197.9 MB / 3.221 GB, free: 113.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/4.871, allocations: 12 kB / 3.221 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006267/4.872, allocations: 75.55 kB / 3.221 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/4.872, allocations: 297.9 kB / 3.221 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/4.872, allocations: 11.98 kB / 3.221 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/4.872, allocations: 15.94 kB / 3.221 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003115/4.873, allocations: 152.8 kB / 3.221 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/4.873, allocations: 243.4 kB / 3.221 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/4.873, allocations: 0 / 3.221 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/4.873, allocations: 7.938 kB / 3.221 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/4.873, allocations: 11.91 kB / 3.221 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/4.875, allocations: 1.212 MB / 3.223 GB, free: 111.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/4.875, allocations: 130.6 kB / 3.223 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/4.875, allocations: 81.08 kB / 3.223 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/4.875, allocations: 303.3 kB / 3.223 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/4.875, allocations: 38.56 kB / 3.223 GB, free: 110.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/4.875, allocations: 3.938 kB / 3.223 GB, free: 110.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.00116/4.877, allocations: 310 kB / 3.223 GB, free: 110.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/4.877, allocations: 51.41 kB / 3.223 GB, free: 110.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/4.877, allocations: 176.3 kB / 3.224 GB, free: 110.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/4.877, allocations: 29.7 kB / 3.224 GB, free: 110 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/4.877, allocations: 152 kB / 3.224 GB, free: 109.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/4.877, allocations: 43.36 kB / 3.224 GB, free: 109.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/4.877, allocations: 0 / 3.224 GB, free: 109.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/4.877, allocations: 334.8 kB / 3.224 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/4.877, allocations: 55.98 kB / 3.224 GB, free: 109.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/4.877, allocations: 118.3 kB / 3.224 GB, free: 109.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/4.877, allocations: 97.66 kB / 3.224 GB, free: 109.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/4.877, allocations: 3.938 kB / 3.224 GB, free: 109.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008384/4.878, allocations: 298 kB / 3.225 GB, free: 108.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/4.878, allocations: 11.98 kB / 3.225 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/4.878, allocations: 0 / 3.225 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/4.879, allocations: 84.91 kB / 3.225 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/4.879, allocations: 63.8 kB / 3.225 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/4.881, allocations: 1.512 MB / 3.226 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/4.881, allocations: 39.98 kB / 3.226 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/4.881, allocations: 7.938 kB / 3.226 GB, free: 107.1 MB / 0.948 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 8.697e-05/4.881, allocations: 119 kB / 3.226 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/4.881, allocations: 23.7 kB / 3.226 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008184/4.882, allocations: 304.1 kB / 3.227 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/4.882, allocations: 7.906 kB / 3.227 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/4.882, allocations: 4 kB / 3.227 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/4.882, allocations: 3.938 kB / 3.227 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/4.883, allocations: 0.6854 MB / 3.227 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/4.883, allocations: 0 / 3.227 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/4.884, allocations: 48.06 kB / 3.228 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/4.884, allocations: 88.77 kB / 3.228 GB, free: 105.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/4.884, allocations: 0 / 3.228 GB, free: 105.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/4.886, allocations: 1.523 MB / 3.229 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/4.886, allocations: 0 / 3.229 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000796/4.886, allocations: 443.5 kB / 3.23 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009558/4.887, allocations: 0.8508 MB / 3.23 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/4.888, allocations: 112.8 kB / 3.23 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/4.888, allocations: 7.984 kB / 3.23 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/4.888, allocations: 39.88 kB / 3.23 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/4.888, allocations: 11.98 kB / 3.23 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/4.888, allocations: 4 kB / 3.231 GB, free: 102.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.629e-05/4.888, allocations: 148.5 kB / 3.231 GB, free: 102.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00129/4.889, allocations: 243.8 kB / 3.231 GB, free: 102.1 MB / 0.948 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.001355/4.891, allocations: 1.076 MB / 3.232 GB, free: 101 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005689/4.891, allocations: 277.8 kB / 3.232 GB, free: 100.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/4.891, allocations: 0 / 3.232 GB, free: 100.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/4.892, allocations: 197.7 kB / 3.232 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/4.892, allocations: 86.17 kB / 3.232 GB, free: 100.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/4.893, allocations: 358.4 kB / 3.233 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/4.893, allocations: 0.8037 MB / 3.234 GB, free: 99.27 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/4.893, allocations: 0 / 3.234 GB, free: 99.27 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)