Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.002/2.002, allocations: 390.4 MB / 397.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 185.2 kB / 490.8 MB, free: 1.914 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 0.7863 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 95.47 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5513/0.5523, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.7905, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.298/5.089, allocations: 1.87 GB / 3.081 GB, free: 433.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/5.089, allocations: 83.75 kB / 3.081 GB, free: 433.2 MB / 1.151 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.3814/5.47, allocations: 199.8 MB / 3.277 GB, free: 264.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/5.471, allocations: 12 kB / 3.277 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/5.471, allocations: 83.55 kB / 3.277 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/5.472, allocations: 301.8 kB / 3.277 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/5.472, allocations: 8 kB / 3.277 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/5.472, allocations: 15.94 kB / 3.277 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003025/5.472, allocations: 160.7 kB / 3.277 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/5.472, allocations: 235.4 kB / 3.277 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/5.472, allocations: 11.94 kB / 3.277 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/5.472, allocations: 0 / 3.277 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/5.472, allocations: 4 kB / 3.277 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/5.474, allocations: 1.219 MB / 3.278 GB, free: 262.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/5.474, allocations: 126.6 kB / 3.279 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/5.474, allocations: 76.84 kB / 3.279 GB, free: 262.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004694/5.475, allocations: 307.3 kB / 3.279 GB, free: 261.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/5.475, allocations: 34.55 kB / 3.279 GB, free: 261.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/5.475, allocations: 0 / 3.279 GB, free: 261.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.001174/5.476, allocations: 311.2 kB / 3.279 GB, free: 261.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/5.476, allocations: 51.41 kB / 3.279 GB, free: 261.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/5.476, allocations: 184.2 kB / 3.28 GB, free: 261.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/5.476, allocations: 25.7 kB / 3.28 GB, free: 261.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/5.476, allocations: 148.1 kB / 3.28 GB, free: 261.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/5.476, allocations: 47.36 kB / 3.28 GB, free: 261.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/5.476, allocations: 4 kB / 3.28 GB, free: 261.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/5.476, allocations: 326.8 kB / 3.28 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/5.476, allocations: 59.97 kB / 3.28 GB, free: 260.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/5.477, allocations: 110.8 kB / 3.28 GB, free: 260.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/5.477, allocations: 113.3 kB / 3.28 GB, free: 260.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/5.477, allocations: 4 kB / 3.28 GB, free: 260.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008637/5.478, allocations: 301.9 kB / 3.281 GB, free: 260.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/5.478, allocations: 4 kB / 3.281 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/5.478, allocations: 0 / 3.281 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/5.478, allocations: 92.89 kB / 3.281 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/5.479, allocations: 55.91 kB / 3.281 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/5.48, allocations: 1.5 MB / 3.282 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/5.48, allocations: 47.86 kB / 3.282 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/5.481, allocations: 8 kB / 3.282 GB, free: 258.3 MB / 1.151 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 7.662e-05/5.481, allocations: 113 kB / 3.282 GB, free: 258.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/5.481, allocations: 19.72 kB / 3.282 GB, free: 258.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/5.482, allocations: 319 kB / 3.283 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/5.482, allocations: 4 kB / 3.283 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/5.482, allocations: 0 / 3.283 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/5.482, allocations: 3.984 kB / 3.283 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/5.483, allocations: 0.6776 MB / 3.283 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/5.483, allocations: 7.938 kB / 3.283 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/5.483, allocations: 44.06 kB / 3.283 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/5.483, allocations: 96.64 kB / 3.284 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/5.484, allocations: 4 kB / 3.284 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/5.485, allocations: 1.524 MB / 3.285 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/5.485, allocations: 3.938 kB / 3.285 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008083/5.486, allocations: 439.6 kB / 3.285 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001005/5.487, allocations: 0.8436 MB / 3.286 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/5.487, allocations: 120.8 kB / 3.286 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/5.487, allocations: 0 / 3.286 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/5.487, allocations: 40.03 kB / 3.286 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/5.487, allocations: 15.98 kB / 3.286 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/5.487, allocations: 7.984 kB / 3.286 GB, free: 253.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.751e-05/5.488, allocations: 148.5 kB / 3.287 GB, free: 253.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001315/5.489, allocations: 235.7 kB / 3.287 GB, free: 253.4 MB / 1.151 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.001764/5.491, allocations: 1.076 MB / 3.288 GB, free: 252.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006243/5.491, allocations: 265.7 kB / 3.288 GB, free: 252 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/5.491, allocations: 0 / 3.288 GB, free: 252 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/5.492, allocations: 209.9 kB / 3.288 GB, free: 251.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/5.492, allocations: 84.47 kB / 3.288 GB, free: 251.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/5.493, allocations: 354.8 kB / 3.289 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/5.494, allocations: 0.7998 MB / 3.29 GB, free: 250.5 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/5.494, allocations: 0 / 3.29 GB, free: 250.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)