Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") [: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.629/1.629, allocations: 289.8 MB / 297.1 MB, free: 8.922 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.00111/0.00111, allocations: 181.2 kB / 366.3 MB, free: 11.2 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.697/1.697, allocations: 205.1 MB / 0.6256 GB, free: 6.469 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 95.31 kB / 0.7396 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.885e-06, allocations: 0 / 0.859 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2407, allocations: 116.3 MB / 0.9726 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.043/4.284, allocations: 2.095 GB / 3.067 GB, free: 159.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/4.284, allocations: 87.86 kB / 3.067 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.397/5.681, allocations: 478.5 MB / 3.534 GB, free: 51.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001227/5.681, allocations: 43.94 kB / 3.534 GB, free: 51.89 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.003294/5.684, allocations: 1.797 MB / 3.536 GB, free: 50.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/5.684, allocations: 12.03 kB / 3.536 GB, free: 50.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/5.687, allocations: 477.2 kB / 3.537 GB, free: 49.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/5.689, allocations: 0.9855 MB / 3.538 GB, free: 48.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/5.689, allocations: 48 kB / 3.538 GB, free: 48.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/5.689, allocations: 91.91 kB / 3.538 GB, free: 48.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002215/5.692, allocations: 1.528 MB / 3.539 GB, free: 46.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/5.694, allocations: 1.431 MB / 3.541 GB, free: 45.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/5.694, allocations: 0 / 3.541 GB, free: 45.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/5.694, allocations: 4 kB / 3.541 GB, free: 45.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/5.694, allocations: 36 kB / 3.541 GB, free: 45.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/5.701, allocations: 5.496 MB / 3.546 GB, free: 39.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/5.702, allocations: 1.349 MB / 3.547 GB, free: 38.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/5.703, allocations: 0.4906 MB / 3.548 GB, free: 37.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/5.704, allocations: 0.8906 MB / 3.549 GB, free: 36.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009256/5.705, allocations: 0.6627 MB / 3.549 GB, free: 35.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 3.347e-06/5.705, allocations: 0 / 3.549 GB, free: 35.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.002667/5.707, allocations: 1.124 MB / 3.55 GB, free: 34.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/5.708, allocations: 252.3 kB / 3.551 GB, free: 34.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/5.708, allocations: 0.6727 MB / 3.551 GB, free: 33.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/5.708, allocations: 29.7 kB / 3.551 GB, free: 33.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/5.709, allocations: 0.4996 MB / 3.552 GB, free: 33.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/5.709, allocations: 378.3 kB / 3.552 GB, free: 32.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/5.709, allocations: 0 / 3.552 GB, free: 32.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.125e-05/5.709, allocations: 345.9 kB / 3.553 GB, free: 32.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/5.71, allocations: 361.9 kB / 3.553 GB, free: 32.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/5.71, allocations: 0.5072 MB / 3.553 GB, free: 31.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/5.711, allocations: 445.6 kB / 3.554 GB, free: 31.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/5.711, allocations: 0 / 3.554 GB, free: 31.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001989/5.713, allocations: 1.1 MB / 3.555 GB, free: 30.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/5.713, allocations: 8 kB / 3.555 GB, free: 30.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/5.713, allocations: 192 / 3.555 GB, free: 30.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/5.714, allocations: 88.7 kB / 3.555 GB, free: 29.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.715, allocations: 271.6 kB / 3.555 GB, free: 29.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/5.717, allocations: 1.476 MB / 3.557 GB, free: 28.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/5.718, allocations: 115.3 kB / 3.557 GB, free: 28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/5.718, allocations: 43.97 kB / 3.557 GB, free: 27.96 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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.0002144/5.718, allocations: 128.7 kB / 3.557 GB, free: 27.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/5.718, allocations: 114.6 kB / 3.557 GB, free: 27.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/5.721, allocations: 1.421 MB / 3.558 GB, free: 26.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/5.721, allocations: 16 kB / 3.558 GB, free: 26.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/5.721, allocations: 0 / 3.558 GB, free: 26.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/5.721, allocations: 7.969 kB / 3.558 GB, free: 26.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/5.725, allocations: 2.756 MB / 3.561 GB, free: 23.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/5.725, allocations: 4 kB / 3.561 GB, free: 23.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/5.726, allocations: 267.6 kB / 3.561 GB, free: 23.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/5.727, allocations: 84.78 kB / 3.562 GB, free: 23.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/5.727, allocations: 23.97 kB / 3.562 GB, free: 23.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/5.729, allocations: 1.48 MB / 3.563 GB, free: 21.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/5.729, allocations: 3.938 kB / 3.563 GB, free: 21.46 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002857/5.731, allocations: 1.913 MB / 3.565 GB, free: 19.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/5.732, allocations: 391.3 kB / 3.565 GB, free: 19.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/5.732, allocations: 7.938 kB / 3.565 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/5.734, allocations: 111.8 kB / 3.565 GB, free: 19.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/5.734, allocations: 65.2 kB / 3.565 GB, free: 18.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/5.734, allocations: 59.95 kB / 3.565 GB, free: 18.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006892/5.735, allocations: 0.5304 MB / 3.566 GB, free: 18.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001823/5.736, allocations: 0.5842 MB / 3.567 GB, free: 17.78 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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.003038/5.739, allocations: 1.863 MB / 3.568 GB, free: 15.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0023/5.742, allocations: 1.072 MB / 3.569 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/5.742, allocations: 448 / 3.569 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/5.743, allocations: 0.663 MB / 3.57 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/5.745, allocations: 389.4 kB / 3.57 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/5.751, allocations: 2.283 MB / 3.573 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/5.752, allocations: 1.469 MB / 3.574 GB, free: 10 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/5.752, allocations: 0 / 3.574 GB, free: 10 MB / 0.948 GB Notification: Performance of Templates: time 0.4838/6.235, allocations: 31.17 MB / 3.605 GB, free: 320.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)