Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.407/2.407, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001541, allocations: 185.2 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 89.75 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.166e-06/8.365e-06, allocations: 0 / 0.8503 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6079, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.417/5.025, allocations: 2.072 GB / 3.035 GB, free: 45.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/5.026, allocations: 88.5 kB / 3.035 GB, free: 45.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6169/5.643, allocations: 63.11 MB / 3.097 GB, free: 315.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000168/5.643, allocations: 29.19 kB / 3.097 GB, free: 315.9 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002919/5.646, allocations: 1.233 MB / 3.098 GB, free: 315.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/5.646, allocations: 15.66 kB / 3.098 GB, free: 315.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/5.648, allocations: 228.1 kB / 3.098 GB, free: 315.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/5.65, allocations: 0.7752 MB / 3.099 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/5.65, allocations: 30.25 kB / 3.099 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/5.65, allocations: 54.34 kB / 3.099 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002508/5.652, allocations: 1.02 MB / 3.1 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/5.654, allocations: 0.7913 MB / 3.101 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/5.655, allocations: 0 / 3.101 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/5.655, allocations: 7.688 kB / 3.101 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/5.655, allocations: 24.19 kB / 3.101 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006255/5.661, allocations: 2.534 MB / 3.103 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/5.663, allocations: 0.6309 MB / 3.104 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/5.663, allocations: 234.3 kB / 3.104 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/5.663, allocations: 30.48 kB / 3.104 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/5.664, allocations: 369.9 kB / 3.104 GB, free: 313.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.266e-06/5.664, allocations: 0 / 3.104 GB, free: 313.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.002674/5.667, allocations: 0.6377 MB / 3.105 GB, free: 313.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/5.667, allocations: 242.3 kB / 3.105 GB, free: 313.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/5.668, allocations: 0.6148 MB / 3.106 GB, free: 313.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/5.668, allocations: 29.64 kB / 3.106 GB, free: 313.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/5.669, allocations: 360.3 kB / 3.106 GB, free: 313.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/5.669, allocations: 219 kB / 3.106 GB, free: 313 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/5.669, allocations: 3.844 kB / 3.106 GB, free: 313 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/5.669, allocations: 328.1 kB / 3.107 GB, free: 312.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/5.67, allocations: 182.8 kB / 3.107 GB, free: 312.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/5.67, allocations: 283.7 kB / 3.107 GB, free: 312.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/5.671, allocations: 241.5 kB / 3.107 GB, free: 312.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/5.671, allocations: 0 / 3.107 GB, free: 312.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002601/5.673, allocations: 0.6459 MB / 3.108 GB, free: 312.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/5.674, allocations: 7.75 kB / 3.108 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/5.674, allocations: 7.406 kB / 3.108 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/5.675, allocations: 80.73 kB / 3.108 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/5.676, allocations: 137.2 kB / 3.108 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/5.679, allocations: 1.454 MB / 3.11 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/5.68, allocations: 71.05 kB / 3.11 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/5.68, allocations: 24.08 kB / 3.11 GB, free: 311.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.000264/5.68, allocations: 116.9 kB / 3.11 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/5.681, allocations: 93.19 kB / 3.11 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/5.684, allocations: 0.9099 MB / 3.111 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/5.684, allocations: 7.656 kB / 3.111 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/5.684, allocations: 0 / 3.111 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/5.684, allocations: 3.75 kB / 3.111 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/5.686, allocations: 0.8158 MB / 3.112 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/5.686, allocations: 2.531 kB / 3.112 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/5.687, allocations: 143.7 kB / 3.112 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/5.688, allocations: 84.64 kB / 3.112 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.785e-05/5.688, allocations: 13.83 kB / 3.112 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/5.691, allocations: 1.488 MB / 3.113 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/5.691, allocations: 0 / 3.113 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002828/5.694, allocations: 0.751 MB / 3.114 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/5.695, allocations: 283.9 kB / 3.114 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/5.695, allocations: 9.859 kB / 3.114 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/5.696, allocations: 56.09 kB / 3.114 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/5.696, allocations: 49.3 kB / 3.114 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/5.696, allocations: 29.69 kB / 3.115 GB, free: 309.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009065/5.697, allocations: 0.4888 MB / 3.115 GB, free: 309.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001555/5.699, allocations: 330.1 kB / 3.115 GB, free: 309.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002075/5.701, allocations: 1.004 MB / 3.116 GB, free: 309 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001947/5.703, allocations: 0.6267 MB / 3.117 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/5.703, allocations: 0.8438 kB / 3.117 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/5.704, allocations: 438.3 kB / 3.117 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/5.707, allocations: 348 kB / 3.118 GB, free: 308.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/5.714, allocations: 1.503 MB / 3.119 GB, free: 308.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/5.715, allocations: 1.204 MB / 3.12 GB, free: 307.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/5.715, allocations: 0.5312 kB / 3.12 GB, free: 307.7 MB / 0.948 GB Notification: Performance of Templates: time 0.05034/5.765, allocations: 18.15 MB / 3.138 GB, free: 306 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)