Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4761/0.4761, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001099/0.001099, allocations: 173.5 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.361/1.361, allocations: 170.5 MB / 319 MB, free: 9.34 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001658/0.001658, allocations: 110.7 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/9.829e-06, allocations: 0 / 448.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1599, allocations: 61.51 MB / 0.4981 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.982/10.14, allocations: 4.473 GB / 4.971 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/10.14, allocations: 79.3 kB / 4.971 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7989/10.94, allocations: 202.6 MB / 5.169 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.454e-05/10.94, allocations: 18.19 kB / 5.169 GB, free: 115.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002769/10.94, allocations: 0.9072 MB / 5.17 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/10.94, allocations: 12.25 kB / 5.17 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/10.95, allocations: 72 kB / 5.17 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/10.95, allocations: 393.2 kB / 5.17 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/10.95, allocations: 14.66 kB / 5.17 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/10.95, allocations: 29.84 kB / 5.17 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009706/10.95, allocations: 462.4 kB / 5.171 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/10.95, allocations: 444.5 kB / 5.171 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/10.95, allocations: 3.094 kB / 5.171 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/10.95, allocations: 2.875 kB / 5.171 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/10.95, allocations: 10.34 kB / 5.171 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/10.95, allocations: 1.833 MB / 5.173 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/10.95, allocations: 349.9 kB / 5.173 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/10.95, allocations: 181.5 kB / 5.174 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004935/10.95, allocations: 301.8 kB / 5.174 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/10.95, allocations: 48.55 kB / 5.174 GB, free: 113 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=36): time 2.715e-06/10.95, allocations: 0 / 5.174 GB, free: 113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002112/10.95, allocations: 0.5484 MB / 5.175 GB, free: 113 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/10.96, allocations: 59.28 kB / 5.175 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/10.96, allocations: 241.1 kB / 5.175 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/10.96, allocations: 28.8 kB / 5.175 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/10.96, allocations: 194.6 kB / 5.175 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/10.96, allocations: 119.1 kB / 5.175 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/10.96, allocations: 3.688 kB / 5.175 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001568/10.96, allocations: 343.7 kB / 5.175 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/10.96, allocations: 140.7 kB / 5.176 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/10.96, allocations: 204.8 kB / 5.176 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009803/10.96, allocations: 281.1 kB / 5.176 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/10.96, allocations: 3.906 kB / 5.176 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001863/10.96, allocations: 0.6016 MB / 5.177 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/10.96, allocations: 5.5 kB / 5.177 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/10.96, allocations: 3.875 kB / 5.177 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/10.96, allocations: 91.84 kB / 5.177 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/10.96, allocations: 99.08 kB / 5.177 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/10.96, allocations: 1.437 MB / 5.178 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/10.96, allocations: 59.14 kB / 5.178 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/10.96, allocations: 21.53 kB / 5.178 GB, free: 110.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (senWetBul.wetBulMod.iWat) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001869/10.96, allocations: 114.8 kB / 5.178 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/10.96, allocations: 39.38 kB / 5.178 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/10.97, allocations: 0.6571 MB / 5.179 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/10.97, allocations: 7.531 kB / 5.179 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/10.97, allocations: 7.25 kB / 5.179 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/10.97, allocations: 3.75 kB / 5.179 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/10.97, allocations: 1.065 MB / 5.18 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/10.97, allocations: 3.312 kB / 5.18 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/10.97, allocations: 93.06 kB / 5.18 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/10.97, allocations: 90.58 kB / 5.18 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/10.97, allocations: 0.5 kB / 5.18 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/10.97, allocations: 1.538 MB / 5.182 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/10.97, allocations: 0 / 5.182 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001765/10.97, allocations: 0.6855 MB / 5.183 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/10.97, allocations: 177.8 kB / 5.183 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/10.97, allocations: 1.312 kB / 5.183 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/10.97, allocations: 48.59 kB / 5.183 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/10.97, allocations: 25.44 kB / 5.183 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/10.97, allocations: 17.16 kB / 5.183 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002142/10.97, allocations: 200.3 kB / 5.183 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001797/10.98, allocations: 405.9 kB / 5.183 GB, free: 108.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.00328/10.98, allocations: 1.221 MB / 5.185 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001148/10.98, allocations: 0.5082 MB / 5.185 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/10.98, allocations: 0 / 5.185 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/10.98, allocations: 314 kB / 5.185 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/10.98, allocations: 185.4 kB / 5.186 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/10.98, allocations: 0.6076 MB / 5.186 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/10.98, allocations: 0.9115 MB / 5.187 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of SimCode: time 6.52e-07/10.98, allocations: 0 / 5.187 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.04034/11.02, allocations: 16.74 MB / 5.203 GB, free: 106.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)