Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 179.2 kB / 7.463 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6015/0.6015, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008056/0.0008057, allocations: 96.33 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.581e-06, allocations: 0 / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.536/2.65, allocations: 1.694 GB / 2.327 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/2.65, allocations: 90.88 kB / 2.327 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1277/2.778, allocations: 64.45 MB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.234e-05/2.778, allocations: 32 kB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001561/2.78, allocations: 1.273 MB / 2.392 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/2.78, allocations: 12.03 kB / 2.392 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/2.781, allocations: 222.2 kB / 2.392 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/2.782, allocations: 0.7795 MB / 2.393 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/2.782, allocations: 36 kB / 2.393 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/2.782, allocations: 52 kB / 2.393 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/2.783, allocations: 1.027 MB / 2.394 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/2.784, allocations: 0.7974 MB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/2.784, allocations: 0 / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/2.784, allocations: 3.984 kB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/2.784, allocations: 24 kB / 2.395 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/2.787, allocations: 2.574 MB / 2.397 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/2.788, allocations: 0.6256 MB / 2.398 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/2.788, allocations: 234.8 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.376e-05/2.788, allocations: 32.59 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/2.788, allocations: 366.1 kB / 2.398 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 1.633e-06/2.788, allocations: 3.938 kB / 2.398 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.001269/2.79, allocations: 0.648 MB / 2.399 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/2.79, allocations: 240 kB / 2.399 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/2.79, allocations: 0.6135 MB / 2.4 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/2.79, allocations: 29.69 kB / 2.4 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/2.79, allocations: 367.7 kB / 2.4 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/2.791, allocations: 216.8 kB / 2.4 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/2.791, allocations: 0 / 2.4 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/2.791, allocations: 333.9 kB / 2.401 GB, free: 197 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/2.791, allocations: 189.3 kB / 2.401 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/2.791, allocations: 282.4 kB / 2.401 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/2.791, allocations: 235 kB / 2.401 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/2.791, allocations: 0 / 2.401 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001198/2.793, allocations: 0.6481 MB / 2.402 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/2.793, allocations: 6.656 kB / 2.402 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/2.793, allocations: 4 kB / 2.402 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/2.793, allocations: 80.84 kB / 2.402 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/2.794, allocations: 131.8 kB / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/2.795, allocations: 1.465 MB / 2.404 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/2.796, allocations: 63.61 kB / 2.404 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/2.796, allocations: 23.98 kB / 2.404 GB, free: 193.7 MB / 0.6823 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.0001323/2.796, allocations: 124.8 kB / 2.404 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/2.796, allocations: 90.81 kB / 2.404 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/2.798, allocations: 0.9064 MB / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/2.798, allocations: 8 kB / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/2.798, allocations: 0 / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/2.798, allocations: 7.984 kB / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/2.799, allocations: 0.8256 MB / 2.406 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/2.799, allocations: 0 / 2.406 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/2.799, allocations: 139.8 kB / 2.406 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/2.8, allocations: 84.78 kB / 2.406 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/2.8, allocations: 19.98 kB / 2.406 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/2.801, allocations: 1.488 MB / 2.407 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/2.801, allocations: 4.062 kB / 2.407 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001183/2.802, allocations: 0.752 MB / 2.408 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/2.802, allocations: 287.7 kB / 2.408 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/2.803, allocations: 0 / 2.408 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/2.803, allocations: 51.95 kB / 2.408 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/2.803, allocations: 48.7 kB / 2.408 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/2.803, allocations: 35.97 kB / 2.408 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004825/2.804, allocations: 491.1 kB / 2.409 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009093/2.805, allocations: 366.7 kB / 2.409 GB, free: 187.8 MB / 0.6823 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.001365/2.806, allocations: 1.043 MB / 2.41 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009444/2.807, allocations: 0.6312 MB / 2.411 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/2.807, allocations: 0 / 2.411 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/2.808, allocations: 432.7 kB / 2.411 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/2.809, allocations: 361.8 kB / 2.412 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/2.812, allocations: 1.519 MB / 2.413 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/2.813, allocations: 1.209 MB / 2.414 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/2.813, allocations: 0 / 2.414 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.02294/2.836, allocations: 18.42 MB / 2.432 GB, free: 164.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)