Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.396/1.396, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001137/0.001137, allocations: 173.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.1 MB / 0.6195 GB, free: 10.39 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 94.56 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.554e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5913/0.5913, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.55/4.141, allocations: 2.072 GB / 3.036 GB, free: 63.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/4.142, allocations: 84.84 kB / 3.036 GB, free: 63.65 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.14/4.282, allocations: 63.11 MB / 3.098 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001232/4.282, allocations: 43.88 kB / 3.098 GB, free: 0.5273 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.3853/4.667, allocations: 1.23 MB / 3.099 GB, free: 391.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/4.667, allocations: 11.81 kB / 3.099 GB, free: 391.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/4.668, allocations: 226.2 kB / 3.099 GB, free: 391.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/4.67, allocations: 0.7743 MB / 3.1 GB, free: 391.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/4.67, allocations: 28.75 kB / 3.1 GB, free: 391.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/4.67, allocations: 53.34 kB / 3.1 GB, free: 391.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/4.671, allocations: 1.019 MB / 3.101 GB, free: 391.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/4.672, allocations: 0.7985 MB / 3.102 GB, free: 391 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/4.672, allocations: 3.062 kB / 3.102 GB, free: 391 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/4.673, allocations: 0 / 3.102 GB, free: 391 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/4.673, allocations: 23.03 kB / 3.102 GB, free: 391 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/4.676, allocations: 2.531 MB / 3.104 GB, free: 390.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/4.677, allocations: 0.6248 MB / 3.105 GB, free: 390.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/4.677, allocations: 237.7 kB / 3.105 GB, free: 390.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.93e-05/4.677, allocations: 26.17 kB / 3.105 GB, free: 390.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/4.678, allocations: 370.3 kB / 3.105 GB, free: 390.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/4.678, allocations: 0 / 3.105 GB, free: 390.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001501/4.679, allocations: 0.6442 MB / 3.106 GB, free: 390.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/4.679, allocations: 242.6 kB / 3.106 GB, free: 389.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/4.68, allocations: 0.609 MB / 3.107 GB, free: 389.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/4.68, allocations: 25.7 kB / 3.107 GB, free: 389.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/4.681, allocations: 366.1 kB / 3.107 GB, free: 389.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/4.681, allocations: 218 kB / 3.107 GB, free: 389.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/4.681, allocations: 3.844 kB / 3.107 GB, free: 389.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/4.681, allocations: 336.7 kB / 3.108 GB, free: 389.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/4.681, allocations: 183.9 kB / 3.108 GB, free: 389.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/4.681, allocations: 280.2 kB / 3.108 GB, free: 389 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/4.682, allocations: 237.1 kB / 3.108 GB, free: 389 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/4.682, allocations: 7.156 kB / 3.108 GB, free: 389 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001408/4.683, allocations: 0.6505 MB / 3.109 GB, free: 388.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/4.683, allocations: 6.219 kB / 3.109 GB, free: 388.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/4.683, allocations: 1.812 kB / 3.109 GB, free: 388.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/4.684, allocations: 86.02 kB / 3.109 GB, free: 388.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/4.685, allocations: 130 kB / 3.109 GB, free: 388.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/4.686, allocations: 1.461 MB / 3.111 GB, free: 387.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/4.687, allocations: 64.83 kB / 3.111 GB, free: 387.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/4.687, allocations: 32 kB / 3.111 GB, free: 387.6 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.0001484/4.687, allocations: 114.5 kB / 3.111 GB, free: 387.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/4.687, allocations: 89.91 kB / 3.111 GB, free: 387.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/4.689, allocations: 0.9057 MB / 3.112 GB, free: 387.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/4.689, allocations: 20.33 kB / 3.112 GB, free: 387.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/4.689, allocations: 0 / 3.112 GB, free: 387.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/4.689, allocations: 3.75 kB / 3.112 GB, free: 387.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009431/4.69, allocations: 0.8192 MB / 3.113 GB, free: 387.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/4.69, allocations: 0 / 3.113 GB, free: 387.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/4.691, allocations: 134 kB / 3.113 GB, free: 387.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/4.691, allocations: 90.8 kB / 3.113 GB, free: 387.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/4.691, allocations: 13.28 kB / 3.113 GB, free: 387.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/4.693, allocations: 1.479 MB / 3.114 GB, free: 386 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.693, allocations: 0 / 3.114 GB, free: 386 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001379/4.694, allocations: 0.7497 MB / 3.115 GB, free: 385.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/4.695, allocations: 289.2 kB / 3.115 GB, free: 385.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/4.695, allocations: 4.344 kB / 3.115 GB, free: 385.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/4.695, allocations: 56.02 kB / 3.115 GB, free: 385.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/4.695, allocations: 51.98 kB / 3.116 GB, free: 385.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/4.696, allocations: 27.84 kB / 3.116 GB, free: 385.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000605/4.696, allocations: 499.5 kB / 3.116 GB, free: 385.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001078/4.697, allocations: 324 kB / 3.116 GB, free: 385.6 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.001882/4.699, allocations: 1.01 MB / 3.117 GB, free: 385.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001194/4.7, allocations: 0.6293 MB / 3.118 GB, free: 385.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/4.7, allocations: 0 / 3.118 GB, free: 385.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006671/4.701, allocations: 442.8 kB / 3.118 GB, free: 385.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/4.702, allocations: 344.3 kB / 3.119 GB, free: 385.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/4.707, allocations: 1.507 MB / 3.12 GB, free: 384.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009767/4.708, allocations: 1.201 MB / 3.121 GB, free: 384.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/4.708, allocations: 0 / 3.121 GB, free: 384.2 MB / 0.948 GB Notification: Performance of Templates: time 0.03233/4.74, allocations: 18.15 MB / 3.139 GB, free: 382.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)