Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.0009459/0.0009461, allocations: 177.2 kB / 316 MB, free: 3.551 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.154/1.154, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009463/0.0009461, allocations: 87.39 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3496/0.3506, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.5269, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.163/4.69, allocations: 2.183 GB / 3.067 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/4.691, allocations: 79.95 kB / 3.067 GB, free: 222.7 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.3311/5.022, allocations: 191.8 MB / 3.255 GB, free: 26.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/5.022, allocations: 16 kB / 3.255 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005181/5.022, allocations: 83.45 kB / 3.255 GB, free: 26.61 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/5.023, allocations: 301.8 kB / 3.255 GB, free: 26.28 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/5.023, allocations: 8 kB / 3.255 GB, free: 26.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/5.023, allocations: 12 kB / 3.255 GB, free: 26.26 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000282/5.023, allocations: 156.8 kB / 3.255 GB, free: 26.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/5.023, allocations: 239.4 kB / 3.256 GB, free: 25.85 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/5.023, allocations: 7.922 kB / 3.256 GB, free: 25.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/5.023, allocations: 0 / 3.256 GB, free: 25.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/5.023, allocations: 4 kB / 3.256 GB, free: 25.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/5.025, allocations: 1.228 MB / 3.257 GB, free: 24.51 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/5.025, allocations: 126.6 kB / 3.257 GB, free: 24.38 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/5.025, allocations: 82.2 kB / 3.257 GB, free: 24.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/5.026, allocations: 303.3 kB / 3.257 GB, free: 23.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/5.026, allocations: 30.81 kB / 3.257 GB, free: 23.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/5.026, allocations: 0 / 3.257 GB, free: 23.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.001108/5.027, allocations: 314 kB / 3.258 GB, free: 23.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/5.027, allocations: 51.41 kB / 3.258 GB, free: 23.53 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/5.027, allocations: 180.3 kB / 3.258 GB, free: 23.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/5.027, allocations: 29.7 kB / 3.258 GB, free: 23.31 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/5.027, allocations: 156 kB / 3.258 GB, free: 23.15 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/5.027, allocations: 47.3 kB / 3.258 GB, free: 23.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/5.027, allocations: 0 / 3.258 GB, free: 23.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/5.027, allocations: 326.8 kB / 3.258 GB, free: 22.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/5.027, allocations: 55.98 kB / 3.258 GB, free: 22.72 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/5.027, allocations: 117.3 kB / 3.259 GB, free: 22.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/5.028, allocations: 115.1 kB / 3.259 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/5.028, allocations: 0 / 3.259 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008172/5.028, allocations: 294 kB / 3.259 GB, free: 22.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/5.028, allocations: 4 kB / 3.259 GB, free: 22.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/5.028, allocations: 0 / 3.259 GB, free: 22.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/5.029, allocations: 92.89 kB / 3.259 GB, free: 22.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/5.029, allocations: 51.91 kB / 3.259 GB, free: 22.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/5.031, allocations: 1.515 MB / 3.261 GB, free: 20.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/5.031, allocations: 39.98 kB / 3.261 GB, free: 20.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/5.031, allocations: 8 kB / 3.261 GB, free: 20.35 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 9.561e-05/5.031, allocations: 108.9 kB / 3.261 GB, free: 20.23 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/5.031, allocations: 27.7 kB / 3.261 GB, free: 20.21 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008219/5.032, allocations: 315.5 kB / 3.261 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/5.032, allocations: 0 / 3.261 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/5.032, allocations: 3.906 kB / 3.261 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/5.032, allocations: 3.984 kB / 3.261 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/5.034, allocations: 0.6893 MB / 3.262 GB, free: 19.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/5.034, allocations: 0 / 3.262 GB, free: 19.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/5.034, allocations: 44.06 kB / 3.262 GB, free: 19.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/5.034, allocations: 92.7 kB / 3.262 GB, free: 19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/5.034, allocations: 4 kB / 3.262 GB, free: 19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/5.036, allocations: 1.515 MB / 3.263 GB, free: 17.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/5.036, allocations: 7.938 kB / 3.263 GB, free: 17.36 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008123/5.037, allocations: 439.6 kB / 3.264 GB, free: 16.88 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009571/5.038, allocations: 0.8359 MB / 3.265 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/5.038, allocations: 120.8 kB / 3.265 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/5.038, allocations: 64 / 3.265 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/5.038, allocations: 43.88 kB / 3.265 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/5.038, allocations: 11.92 kB / 3.265 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/5.038, allocations: 15.98 kB / 3.265 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.246e-05/5.038, allocations: 144.5 kB / 3.265 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001205/5.039, allocations: 235.8 kB / 3.265 GB, free: 15.41 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.001216/5.041, allocations: 1.077 MB / 3.266 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000552/5.041, allocations: 269.9 kB / 3.266 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/5.041, allocations: 0 / 3.266 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/5.042, allocations: 201.6 kB / 3.267 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/5.042, allocations: 94.62 kB / 3.267 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/5.043, allocations: 346.6 kB / 3.267 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/5.043, allocations: 0.8076 MB / 3.268 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/5.043, allocations: 0 / 3.268 GB, free: 12.56 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)