Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") [: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.621/1.621, allocations: 289.8 MB / 297.1 MB, free: 6.656 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: 185.2 kB / 366.3 MB, free: 1.977 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.862/1.862, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.001029/0.001029, allocations: 92.78 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.978e-06/1.001e-05, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8021, allocations: 116.3 MB / 0.9725 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.014/5.816, allocations: 2.11 GB / 3.083 GB, free: 350.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/5.816, allocations: 97 kB / 3.083 GB, free: 350.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.98/11.8, allocations: 1.903 GB / 4.986 GB, free: 162.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008734/11.8, allocations: 122 kB / 4.986 GB, free: 162.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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0203/11.82, allocations: 5.578 MB / 4.992 GB, free: 160.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/11.82, allocations: 11.09 kB / 4.992 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/11.83, allocations: 1.622 MB / 4.993 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0179/11.85, allocations: 5.493 MB / 4.999 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005531/11.85, allocations: 125.6 kB / 4.999 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/11.85, allocations: 219.6 kB / 4.999 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01337/11.86, allocations: 4.545 MB / 5.003 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/11.88, allocations: 4.717 MB / 5.008 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002146/11.88, allocations: 3.375 kB / 5.008 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001697/11.88, allocations: 9.125 kB / 5.008 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/11.88, allocations: 160.5 kB / 5.008 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/11.93, allocations: 19.11 MB / 5.027 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007239/11.93, allocations: 3.186 MB / 5.03 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/11.94, allocations: 1.665 MB / 5.032 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002737/11.94, allocations: 3.055 MB / 5.035 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004175/11.94, allocations: 1.885 MB / 5.036 GB, free: 149.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.714e-06/11.94, allocations: 0 / 5.036 GB, free: 149.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.01991/11.96, allocations: 4.591 MB / 5.041 GB, free: 147.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/11.96, allocations: 286.1 kB / 5.041 GB, free: 147.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007675/11.97, allocations: 2.932 MB / 5.044 GB, free: 146.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009818/11.97, allocations: 31.14 kB / 5.044 GB, free: 146.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002159/11.97, allocations: 1.361 MB / 5.045 GB, free: 145.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002519/11.98, allocations: 0.9296 MB / 5.046 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/11.98, allocations: 2.844 kB / 5.046 GB, free: 144.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000341/11.98, allocations: 423.1 kB / 5.047 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002969/11.98, allocations: 1.387 MB / 5.048 GB, free: 143.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003492/11.98, allocations: 2.015 MB / 5.05 GB, free: 142.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/12, allocations: 3.1 MB / 5.053 GB, free: 141.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-05/12, allocations: 5.5 kB / 5.053 GB, free: 141.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.02637/12.03, allocations: 5.38 MB / 5.058 GB, free: 140.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001358/12.03, allocations: 6.435 MB / 5.065 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/12.03, allocations: 16 kB / 5.065 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/12.03, allocations: 109.7 kB / 5.065 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004865/12.04, allocations: 0.8212 MB / 5.065 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/12.04, allocations: 2.105 MB / 5.068 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/12.04, allocations: 433.3 kB / 5.068 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/12.04, allocations: 207.7 kB / 5.068 GB, free: 129.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/12.04, allocations: 4 kB / 5.068 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02566/12.07, allocations: 4.905 MB / 5.073 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.401e-05/12.07, allocations: 19.05 kB / 5.073 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000651/12.07, allocations: 108.5 kB / 5.073 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00473/12.08, allocations: 0.8099 MB / 5.074 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/12.08, allocations: 1.508 MB / 5.075 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/12.08, allocations: 398.4 kB / 5.076 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/12.08, allocations: 204.2 kB / 5.076 GB, free: 123.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001791/12.09, allocations: 173.2 kB / 5.076 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002845/12.09, allocations: 432.9 kB / 5.076 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02333/12.11, allocations: 6.265 MB / 5.083 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/12.11, allocations: 32 kB / 5.083 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/12.11, allocations: 0 / 5.083 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01606/12.13, allocations: 4.652 MB / 5.087 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03224/12.16, allocations: 10.04 MB / 5.097 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/12.16, allocations: 0 / 5.097 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004059/12.16, allocations: 0.6123 MB / 5.098 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/12.17, allocations: 497.2 kB / 5.098 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008024/12.17, allocations: 71.03 kB / 5.098 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/12.17, allocations: 7.7 MB / 5.106 GB, free: 95.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/12.17, allocations: 7.125 kB / 5.106 GB, free: 95.97 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02257/12.2, allocations: 7.424 MB / 5.113 GB, free: 88.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004245/12.2, allocations: 1.144 MB / 5.114 GB, free: 87.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002195/12.2, allocations: 15.98 kB / 5.114 GB, free: 87.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005477/12.21, allocations: 265.2 kB / 5.114 GB, free: 87.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007839/12.21, allocations: 169.8 kB / 5.114 GB, free: 86.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008301/12.21, allocations: 146.7 kB / 5.115 GB, free: 86.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.005574/12.22, allocations: 2.253 MB / 5.117 GB, free: 84.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01567/12.23, allocations: 2.898 MB / 5.12 GB, free: 81.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (274): * Single equations (assignments): 257 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007437/12.24, allocations: 2.125 MB / 5.122 GB, free: 79.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01408/12.25, allocations: 5.845 MB / 5.127 GB, free: 74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/12.25, allocations: 0.5 kB / 5.127 GB, free: 74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004567/12.26, allocations: 2.023 MB / 5.129 GB, free: 71.97 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/12.27, allocations: 1.622 MB / 5.131 GB, free: 70.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05982/12.33, allocations: 23.52 MB / 5.154 GB, free: 47.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00896/12.34, allocations: 3.728 MB / 5.158 GB, free: 43.66 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/12.34, allocations: 0 / 5.158 GB, free: 43.66 MB / 0.948 GB Notification: Performance of Templates: time 0.6991/13.04, allocations: 115.1 MB / 5.27 GB, free: 243.3 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)