Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [: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.518/1.518, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001133/0.001133, allocations: 176.1 kB / 366.3 MB, free: 1.938 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.434/1.434, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0008695/0.0008696, allocations: 88.53 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.042e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6891, allocations: 116.3 MB / 0.9725 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.925/5.614, allocations: 2.101 GB / 3.074 GB, free: 352.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/5.614, allocations: 91.86 kB / 3.074 GB, free: 352.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.472/7.087, allocations: 404.8 MB / 3.469 GB, free: 229 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001105/7.087, allocations: 43.09 kB / 3.469 GB, free: 229 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003341/7.09, allocations: 1.615 MB / 3.471 GB, free: 228.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/7.09, allocations: 13.56 kB / 3.471 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/7.093, allocations: 411.2 kB / 3.471 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/7.096, allocations: 1.167 MB / 3.472 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/7.096, allocations: 41.41 kB / 3.472 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/7.096, allocations: 72.84 kB / 3.472 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002242/7.098, allocations: 1.389 MB / 3.474 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/7.1, allocations: 1.219 MB / 3.475 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/7.1, allocations: 3.938 kB / 3.475 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/7.1, allocations: 7.906 kB / 3.475 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/7.1, allocations: 29.75 kB / 3.475 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007143/7.107, allocations: 4.648 MB / 3.479 GB, free: 225.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/7.109, allocations: 1.148 MB / 3.481 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/7.11, allocations: 446 kB / 3.481 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/7.111, allocations: 0.4972 MB / 3.482 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000901/7.111, allocations: 0.592 MB / 3.482 GB, free: 225 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 4.238e-06/7.111, allocations: 0 / 3.482 GB, free: 225 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.003603/7.115, allocations: 1.141 MB / 3.483 GB, free: 224.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/7.115, allocations: 246.9 kB / 3.483 GB, free: 224.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/7.116, allocations: 0.6145 MB / 3.484 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/7.117, allocations: 31.86 kB / 3.484 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/7.117, allocations: 462.8 kB / 3.485 GB, free: 224.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/7.118, allocations: 312.1 kB / 3.485 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/7.118, allocations: 0 / 3.485 GB, free: 224.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001325/7.118, allocations: 347 kB / 3.485 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/7.118, allocations: 332.8 kB / 3.485 GB, free: 223.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/7.119, allocations: 0.5066 MB / 3.486 GB, free: 223.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/7.12, allocations: 0.519 MB / 3.486 GB, free: 223.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/7.12, allocations: 0 / 3.486 GB, free: 223.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002839/7.123, allocations: 1.129 MB / 3.488 GB, free: 223.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/7.123, allocations: 9.781 kB / 3.488 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/7.123, allocations: 0 / 3.488 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/7.124, allocations: 98.17 kB / 3.488 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/7.125, allocations: 230.5 kB / 3.488 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/7.127, allocations: 1.475 MB / 3.489 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/7.128, allocations: 107.5 kB / 3.489 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/7.128, allocations: 37.5 kB / 3.489 GB, free: 222.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.0002721/7.129, allocations: 129.3 kB / 3.49 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/7.129, allocations: 100.6 kB / 3.49 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/7.132, allocations: 1.403 MB / 3.491 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/7.132, allocations: 10.25 kB / 3.491 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/7.132, allocations: 0 / 3.491 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/7.132, allocations: 11.44 kB / 3.491 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/7.138, allocations: 2.562 MB / 3.494 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/7.138, allocations: 3.562 kB / 3.494 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/7.139, allocations: 218.2 kB / 3.494 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005973/7.14, allocations: 80.81 kB / 3.494 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/7.14, allocations: 24.36 kB / 3.494 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/7.142, allocations: 1.487 MB / 3.495 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/7.142, allocations: 3.531 kB / 3.495 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003468/7.146, allocations: 1.263 MB / 3.497 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/7.147, allocations: 352.5 kB / 3.497 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/7.147, allocations: 3.938 kB / 3.497 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/7.149, allocations: 85.06 kB / 3.497 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/7.149, allocations: 68 kB / 3.497 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/7.149, allocations: 48 kB / 3.497 GB, free: 220 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001029/7.15, allocations: 499.4 kB / 3.498 GB, free: 219.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002818/7.153, allocations: 0.5363 MB / 3.498 GB, free: 219.9 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.004797/7.158, allocations: 1.928 MB / 3.5 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002322/7.16, allocations: 0.9887 MB / 3.501 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/7.16, allocations: 5.797 kB / 3.501 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/7.161, allocations: 0.6119 MB / 3.502 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/7.163, allocations: 345 kB / 3.502 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/7.169, allocations: 1.861 MB / 3.504 GB, free: 218.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/7.171, allocations: 1.351 MB / 3.505 GB, free: 218 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/7.171, allocations: 0 / 3.505 GB, free: 218 MB / 0.948 GB Notification: Performance of Templates: time 0.05627/7.227, allocations: 29.28 MB / 3.534 GB, free: 217.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)