Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.448/1.448, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.0009715/0.0009714, allocations: 185.2 kB / 366.3 MB, free: 1.984 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.3/1.3, allocations: 205.2 MB / 0.6256 GB, free: 5.816 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.001021/0.001021, allocations: 81.75 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/8.186e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6851, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.37/4.055, allocations: 2.073 GB / 3.046 GB, free: 2.777 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/4.056, allocations: 88.8 kB / 3.046 GB, free: 2.691 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4881/4.544, allocations: 63.1 MB / 3.107 GB, free: 327.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.255e-05/4.544, allocations: 35.94 kB / 3.107 GB, free: 327.8 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.00173/4.546, allocations: 1.237 MB / 3.109 GB, free: 326.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/4.546, allocations: 8.031 kB / 3.109 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/4.547, allocations: 226.1 kB / 3.109 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/4.548, allocations: 0.7846 MB / 3.11 GB, free: 325.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/4.548, allocations: 28 kB / 3.11 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/4.548, allocations: 52 kB / 3.11 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001294/4.549, allocations: 1.019 MB / 3.111 GB, free: 324.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/4.55, allocations: 0.7935 MB / 3.112 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/4.55, allocations: 0 / 3.112 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/4.55, allocations: 4 kB / 3.112 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/4.55, allocations: 23.94 kB / 3.112 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/4.554, allocations: 2.541 MB / 3.114 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/4.554, allocations: 0.6283 MB / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/4.555, allocations: 238.7 kB / 3.115 GB, free: 320.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.039e-05/4.555, allocations: 35.41 kB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/4.555, allocations: 370.1 kB / 3.115 GB, free: 319.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 2.335e-06/4.555, allocations: 0 / 3.115 GB, free: 319.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001407/4.557, allocations: 0.648 MB / 3.116 GB, free: 319 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/4.557, allocations: 240 kB / 3.116 GB, free: 318.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006662/4.557, allocations: 0.6058 MB / 3.117 GB, free: 318.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/4.557, allocations: 29.7 kB / 3.117 GB, free: 318.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/4.558, allocations: 363.8 kB / 3.117 GB, free: 317.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/4.558, allocations: 220.7 kB / 3.117 GB, free: 317.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/4.558, allocations: 0 / 3.117 GB, free: 317.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/4.558, allocations: 334 kB / 3.118 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/4.558, allocations: 181.3 kB / 3.118 GB, free: 317 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/4.558, allocations: 282.4 kB / 3.118 GB, free: 316.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/4.559, allocations: 239 kB / 3.118 GB, free: 316.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/4.559, allocations: 0 / 3.118 GB, free: 316.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001238/4.56, allocations: 0.652 MB / 3.119 GB, free: 315.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/4.56, allocations: 7.906 kB / 3.119 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/4.56, allocations: 0 / 3.119 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/4.561, allocations: 84.84 kB / 3.119 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/4.561, allocations: 127.8 kB / 3.119 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/4.563, allocations: 1.476 MB / 3.121 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/4.563, allocations: 51.61 kB / 3.121 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/4.563, allocations: 31.98 kB / 3.121 GB, free: 313.9 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.000134/4.563, allocations: 113 kB / 3.121 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/4.564, allocations: 94.81 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/4.565, allocations: 0.9104 MB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/4.565, allocations: 8 kB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/4.565, allocations: 0 / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/4.565, allocations: 7.984 kB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/4.566, allocations: 0.8177 MB / 3.123 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/4.566, allocations: 0 / 3.123 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/4.567, allocations: 139.8 kB / 3.123 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/4.567, allocations: 80.78 kB / 3.123 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/4.567, allocations: 15.98 kB / 3.123 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/4.569, allocations: 1.492 MB / 3.124 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/4.569, allocations: 4.062 kB / 3.124 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/4.57, allocations: 0.7519 MB / 3.125 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/4.57, allocations: 283.6 kB / 3.125 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/4.57, allocations: 0 / 3.125 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/4.571, allocations: 55.94 kB / 3.125 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/4.571, allocations: 52.7 kB / 3.125 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/4.571, allocations: 31.89 kB / 3.125 GB, free: 308.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004639/4.572, allocations: 495.1 kB / 3.126 GB, free: 308.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008331/4.572, allocations: 322.8 kB / 3.126 GB, free: 308 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.001193/4.574, allocations: 1.007 MB / 3.127 GB, free: 307.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008701/4.575, allocations: 0.6299 MB / 3.128 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/4.575, allocations: 4 kB / 3.128 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/4.575, allocations: 436.8 kB / 3.128 GB, free: 306.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/4.576, allocations: 352.4 kB / 3.129 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/4.579, allocations: 1.508 MB / 3.13 GB, free: 304.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/4.58, allocations: 1.201 MB / 3.131 GB, free: 303 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/4.58, allocations: 0 / 3.131 GB, free: 303 MB / 0.948 GB Notification: Performance of Templates: time 0.02402/4.604, allocations: 18.16 MB / 3.149 GB, free: 284.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)