Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") [: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.0.1-maint.8.0.x/package.mo): time 1.489/1.489, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.000972/0.000972, allocations: 181.2 kB / 361.1 MB, free: 7.082 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.495/1.495, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0009671/0.0009671, allocations: 83.98 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.07e-05, allocations: 4 kB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6951, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.706/5.401, allocations: 2.358 GB / 3.322 GB, free: 148.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/5.402, allocations: 95.42 kB / 3.322 GB, free: 148.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.634/11.04, allocations: 1.477 GB / 4.799 GB, free: 107.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001381/11.04, allocations: 195.1 kB / 4.799 GB, free: 107.4 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.02587/11.06, allocations: 6.647 MB / 4.805 GB, free: 100.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/11.06, allocations: 8.031 kB / 4.805 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/11.08, allocations: 2.706 MB / 4.808 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02712/11.11, allocations: 7.959 MB / 4.816 GB, free: 90.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/11.11, allocations: 188 kB / 4.816 GB, free: 90 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003147/11.11, allocations: 343.7 kB / 4.816 GB, free: 89.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0191/11.13, allocations: 6.946 MB / 4.823 GB, free: 82.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/11.15, allocations: 7.128 MB / 4.83 GB, free: 75.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/11.15, allocations: 19.88 kB / 4.83 GB, free: 75.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008365/11.15, allocations: 8 kB / 4.83 GB, free: 75.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/11.16, allocations: 271.2 kB / 4.83 GB, free: 75.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06063/11.22, allocations: 31.31 MB / 4.861 GB, free: 42.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008028/11.22, allocations: 4.666 MB / 4.865 GB, free: 38.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/11.23, allocations: 2.616 MB / 4.868 GB, free: 35.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/11.23, allocations: 2.411 MB / 4.87 GB, free: 32.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004225/11.23, allocations: 2.852 MB / 4.873 GB, free: 29.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=421): time 5.56e-06/11.23, allocations: 0 / 4.873 GB, free: 29.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=421): time 0.02286/11.26, allocations: 6.159 MB / 4.879 GB, free: 23.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/11.26, allocations: 381.4 kB / 4.879 GB, free: 23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008955/11.27, allocations: 4.593 MB / 4.884 GB, free: 18.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/11.27, allocations: 33.7 kB / 4.884 GB, free: 18.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002234/11.27, allocations: 2.117 MB / 4.886 GB, free: 16.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002662/11.27, allocations: 1.366 MB / 4.887 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/11.27, allocations: 0 / 4.887 GB, free: 14.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002753/11.27, allocations: 479.7 kB / 4.888 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003304/11.28, allocations: 2.086 MB / 4.89 GB, free: 12.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/11.28, allocations: 3.041 MB / 4.893 GB, free: 8.863 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/11.3, allocations: 3.938 MB / 4.897 GB, free: 4.918 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.553e-05/11.3, allocations: 8 kB / 4.897 GB, free: 4.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02418/11.32, allocations: 7.124 MB / 4.904 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004696/11.32, allocations: 10.55 MB / 4.914 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.555e-05/11.32, allocations: 28 kB / 4.914 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.504e-05/11.32, allocations: 44 kB / 4.914 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0091/11.33, allocations: 1.283 MB / 4.915 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001577/11.33, allocations: 55.86 kB / 4.915 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/11.34, allocations: 0.6715 MB / 4.916 GB, free: 208 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/11.35, allocations: 227.9 kB / 4.916 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/11.35, allocations: 4 kB / 4.916 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02958/11.38, allocations: 6.543 MB / 4.923 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.992e-05/11.38, allocations: 20 kB / 4.923 GB, free: 9.406 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-05/11.38, allocations: 48 kB / 4.923 GB, free: 9.359 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009151/11.39, allocations: 1.285 MB / 4.924 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/11.39, allocations: 63.78 kB / 4.924 GB, free: 8.012 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/11.4, allocations: 0.617 MB / 4.925 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002057/11.4, allocations: 223.8 kB / 4.925 GB, free: 7.172 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003336/11.4, allocations: 206.2 kB / 4.925 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003683/11.41, allocations: 0.5557 MB / 4.926 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5758/11.98, allocations: 7.428 MB / 4.933 GB, free: 243.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/11.98, allocations: 45.19 kB / 4.933 GB, free: 243.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/11.98, allocations: 0 / 4.933 GB, free: 243.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02013/12, allocations: 5.803 MB / 4.939 GB, free: 243.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0369/12.04, allocations: 14.56 MB / 4.953 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/12.04, allocations: 6.312 kB / 4.953 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006134/12.04, allocations: 1.046 MB / 4.954 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/12.04, allocations: 26.44 kB / 4.954 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004578/12.04, allocations: 101 kB / 4.954 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-05/12.04, allocations: 25.28 kB / 4.954 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/12.04, allocations: 14.34 kB / 4.954 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02422/12.07, allocations: 10.74 MB / 4.964 GB, free: 241 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00476/12.07, allocations: 1.617 MB / 4.966 GB, free: 240.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001938/12.08, allocations: 21.23 kB / 4.966 GB, free: 240.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007686/12.08, allocations: 434.3 kB / 4.966 GB, free: 240.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007341/12.08, allocations: 245.9 kB / 4.967 GB, free: 240.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007451/12.09, allocations: 207.3 kB / 4.967 GB, free: 240.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.006773/12.09, allocations: 3.544 MB / 4.97 GB, free: 240.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01531/12.11, allocations: 3.498 MB / 4.974 GB, free: 240.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * 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 (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003869/12.11, allocations: 1.539 MB / 4.975 GB, free: 240.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01389/12.13, allocations: 8.248 MB / 4.983 GB, free: 240 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/12.13, allocations: 4.375 kB / 4.983 GB, free: 240 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004318/12.13, allocations: 2.569 MB / 4.986 GB, free: 240 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01531/12.14, allocations: 2.441 MB / 4.988 GB, free: 240 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/12.17, allocations: 11.63 MB / 5 GB, free: 237.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008224/12.18, allocations: 5.091 MB / 5.005 GB, free: 236.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.152e-06/12.18, allocations: 0 / 5.005 GB, free: 236.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.2624/12.44, allocations: 154.9 MB / 5.156 GB, free: 204.4 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)