Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating") [: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.812/1.812, allocations: 289.8 MB / 297.1 MB, free: 9.008 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.001307/0.001308, allocations: 185.3 kB / 366.3 MB, free: 11.34 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.834/1.834, allocations: 205.1 MB / 0.6256 GB, free: 11.45 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.001059/0.001059, allocations: 77.41 kB / 0.7396 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.766e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2648, allocations: 116.3 MB / 0.9726 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.434/5.698, allocations: 2.357 GB / 3.33 GB, free: 348.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/5.699, allocations: 91.48 kB / 3.33 GB, free: 348.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.509/8.208, allocations: 0.9257 GB / 4.256 GB, free: 144.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006448/8.209, allocations: 126.7 kB / 4.256 GB, free: 144.3 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.0121/8.221, allocations: 4.289 MB / 4.26 GB, free: 139.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/8.221, allocations: 8.031 kB / 4.26 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008024/8.229, allocations: 1.235 MB / 4.261 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/8.242, allocations: 5.407 MB / 4.267 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/8.242, allocations: 127.8 kB / 4.267 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/8.244, allocations: 216 kB / 4.267 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007961/8.251, allocations: 4.387 MB / 4.271 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007431/8.259, allocations: 4.559 MB / 4.276 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.33e-05/8.259, allocations: 23.77 kB / 4.276 GB, free: 123.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004485/8.26, allocations: 8 kB / 4.276 GB, free: 123.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/8.26, allocations: 179.1 kB / 4.276 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/8.29, allocations: 19.19 MB / 4.295 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/8.294, allocations: 3.008 MB / 4.298 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/8.296, allocations: 1.622 MB / 4.299 GB, free: 99.37 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/8.298, allocations: 1.874 MB / 4.301 GB, free: 97.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002472/8.3, allocations: 1.78 MB / 4.303 GB, free: 95.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 5.631e-06/8.3, allocations: 0 / 4.303 GB, free: 95.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.01136/8.312, allocations: 3.67 MB / 4.306 GB, free: 91.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/8.312, allocations: 295.1 kB / 4.307 GB, free: 91.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/8.317, allocations: 3.017 MB / 4.31 GB, free: 88.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005457/8.317, allocations: 33.7 kB / 4.31 GB, free: 88.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/8.319, allocations: 1.379 MB / 4.311 GB, free: 86.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/8.32, allocations: 0.866 MB / 4.312 GB, free: 85.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/8.32, allocations: 0 / 4.312 GB, free: 85.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001497/8.32, allocations: 431.8 kB / 4.312 GB, free: 85.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/8.322, allocations: 1.302 MB / 4.313 GB, free: 84.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/8.324, allocations: 1.969 MB / 4.315 GB, free: 81.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006768/8.331, allocations: 2.314 MB / 4.318 GB, free: 79.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/8.331, allocations: 4 kB / 4.318 GB, free: 79.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01143/8.342, allocations: 4.37 MB / 4.322 GB, free: 75.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001481/8.344, allocations: 7.281 MB / 4.329 GB, free: 67.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/8.344, allocations: 16 kB / 4.329 GB, free: 67.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006825/8.345, allocations: 116.8 kB / 4.329 GB, free: 67.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/8.349, allocations: 0.7917 MB / 4.33 GB, free: 66.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/8.351, allocations: 2.102 MB / 4.332 GB, free: 64.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/8.356, allocations: 412.8 kB / 4.332 GB, free: 63.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000623/8.357, allocations: 147.9 kB / 4.332 GB, free: 63.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/8.357, allocations: 8 kB / 4.332 GB, free: 63.69 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01042/8.367, allocations: 3.993 MB / 4.336 GB, free: 59.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/8.367, allocations: 16 kB / 4.336 GB, free: 59.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/8.368, allocations: 117.1 kB / 4.337 GB, free: 59.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/8.372, allocations: 0.7801 MB / 4.337 GB, free: 58.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/8.373, allocations: 1.5 MB / 4.339 GB, free: 57.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/8.378, allocations: 373.4 kB / 4.339 GB, free: 56.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005193/8.379, allocations: 147.9 kB / 4.339 GB, free: 56.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (365): * Single equations (assignments): 363 * 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.0009265/8.38, allocations: 184.8 kB / 4.339 GB, free: 56.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/8.381, allocations: 355.7 kB / 4.34 GB, free: 56.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/8.393, allocations: 4.512 MB / 4.344 GB, free: 51.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/8.393, allocations: 31.98 kB / 4.344 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/8.393, allocations: 3.938 kB / 4.344 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008804/8.402, allocations: 3.616 MB / 4.348 GB, free: 47.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.019/8.421, allocations: 8.65 MB / 4.356 GB, free: 39.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/8.421, allocations: 0 / 4.356 GB, free: 39.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003278/8.424, allocations: 0.6242 MB / 4.357 GB, free: 38.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/8.425, allocations: 96.72 kB / 4.357 GB, free: 38.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/8.425, allocations: 55.92 kB / 4.357 GB, free: 38.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/8.427, allocations: 2.094 MB / 4.359 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/8.427, allocations: 0 / 4.359 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01245/8.439, allocations: 5.981 MB / 4.365 GB, free: 29.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/8.442, allocations: 1.05 MB / 4.366 GB, free: 28.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009295/8.443, allocations: 19.83 kB / 4.366 GB, free: 28.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/8.447, allocations: 275.4 kB / 4.366 GB, free: 28.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/8.447, allocations: 153.9 kB / 4.366 GB, free: 28.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/8.447, allocations: 131.9 kB / 4.366 GB, free: 28.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003177/8.45, allocations: 2.33 MB / 4.369 GB, free: 26.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00711/8.458, allocations: 2.314 MB / 4.371 GB, free: 23.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003017/8.461, allocations: 1.594 MB / 4.372 GB, free: 22.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009778/8.47, allocations: 5.395 MB / 4.378 GB, free: 16.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/8.471, allocations: 1.109 kB / 4.378 GB, free: 16.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002807/8.473, allocations: 1.71 MB / 4.379 GB, free: 15.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009133/8.482, allocations: 1.679 MB / 4.381 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/8.499, allocations: 7.911 MB / 4.389 GB, free: 5.445 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003527/8.502, allocations: 3.547 MB / 4.392 GB, free: 1.871 MB / 0.948 GB Notification: Performance of SimCode: time 1.402e-06/8.502, allocations: 0 / 4.392 GB, free: 1.871 MB / 0.948 GB Notification: Performance of Templates: time 0.5516/9.054, allocations: 101.2 MB / 4.491 GB, free: 265.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)