Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") [: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.55/1.55, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001245/0.001245, allocations: 176.2 kB / 366.3 MB, free: 1.93 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.573/1.573, allocations: 205.1 MB / 0.6256 GB, free: 5.746 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.001021/0.001021, allocations: 87.31 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.413e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7735, allocations: 116.3 MB / 0.9725 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.442/6.216, allocations: 2.358 GB / 3.33 GB, free: 95.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/6.216, allocations: 88.67 kB / 3.331 GB, free: 94.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.678/9.894, allocations: 0.926 GB / 4.257 GB, free: 187 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000733/9.895, allocations: 125.1 kB / 4.257 GB, free: 187 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01552/9.91, allocations: 4.31 MB / 4.261 GB, free: 185.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/9.91, allocations: 11.53 kB / 4.261 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009594/9.92, allocations: 1.361 MB / 4.262 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/9.936, allocations: 5.466 MB / 4.268 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/9.936, allocations: 118.3 kB / 4.268 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001697/9.938, allocations: 223.2 kB / 4.268 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01039/9.948, allocations: 4.428 MB / 4.272 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/9.959, allocations: 4.579 MB / 4.277 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/9.959, allocations: 13.5 kB / 4.277 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005066/9.959, allocations: 7.078 kB / 4.277 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/9.959, allocations: 180.5 kB / 4.277 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03494/9.994, allocations: 19.27 MB / 4.296 GB, free: 175.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/9.999, allocations: 3.004 MB / 4.299 GB, free: 174.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/10, allocations: 1.643 MB / 4.3 GB, free: 173.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/10, allocations: 1.865 MB / 4.302 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002805/10.01, allocations: 1.793 MB / 4.304 GB, free: 170.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.009e-06/10.01, allocations: 3.938 kB / 4.304 GB, free: 170.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01139/10.02, allocations: 3.708 MB / 4.307 GB, free: 169.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/10.02, allocations: 285.2 kB / 4.308 GB, free: 169.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005318/10.02, allocations: 3.033 MB / 4.311 GB, free: 168.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008091/10.02, allocations: 29.58 kB / 4.311 GB, free: 168.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001761/10.03, allocations: 1.388 MB / 4.312 GB, free: 167.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/10.03, allocations: 0.8713 MB / 4.313 GB, free: 166.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/10.03, allocations: 0 / 4.313 GB, free: 166.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000171/10.03, allocations: 423.1 kB / 4.313 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/10.03, allocations: 1.323 MB / 4.315 GB, free: 165.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/10.03, allocations: 1.997 MB / 4.316 GB, free: 164.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/10.05, allocations: 2.879 MB / 4.319 GB, free: 163.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-05/10.05, allocations: 5.312 kB / 4.319 GB, free: 163.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.0192/10.07, allocations: 4.965 MB / 4.324 GB, free: 162.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001597/10.07, allocations: 7.28 MB / 4.331 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/10.07, allocations: 18.12 kB / 4.331 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000734/10.07, allocations: 109.5 kB / 4.331 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004888/10.07, allocations: 0.8191 MB / 4.332 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/10.07, allocations: 2.101 MB / 4.334 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005874/10.08, allocations: 427.8 kB / 4.335 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009823/10.08, allocations: 144.4 kB / 4.335 GB, free: 152.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/10.08, allocations: 5 kB / 4.335 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01887/10.1, allocations: 4.595 MB / 4.339 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/10.1, allocations: 17.41 kB / 4.339 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/10.1, allocations: 115 kB / 4.339 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/10.11, allocations: 0.8071 MB / 4.34 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/10.11, allocations: 1.496 MB / 4.342 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005838/10.11, allocations: 389.1 kB / 4.342 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/10.12, allocations: 147 kB / 4.342 GB, free: 149.7 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 (370): * Single equations (assignments): 368 * 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.001996/10.12, allocations: 184.7 kB / 4.342 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002625/10.12, allocations: 358.9 kB / 4.343 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02094/10.14, allocations: 4.541 MB / 4.347 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/10.14, allocations: 33.41 kB / 4.347 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/10.14, allocations: 3 kB / 4.347 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01327/10.15, allocations: 3.646 MB / 4.351 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/10.19, allocations: 8.696 MB / 4.359 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/10.19, allocations: 4 kB / 4.359 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00427/10.19, allocations: 0.6395 MB / 4.36 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006302/10.19, allocations: 89.19 kB / 4.36 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000814/10.19, allocations: 64.44 kB / 4.36 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/10.19, allocations: 2.083 MB / 4.362 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/10.19, allocations: 3.062 kB / 4.362 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01799/10.21, allocations: 6.031 MB / 4.368 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004295/10.22, allocations: 1.05 MB / 4.369 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002245/10.22, allocations: 20.98 kB / 4.369 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005677/10.22, allocations: 287.6 kB / 4.369 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009212/10.22, allocations: 152.6 kB / 4.369 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009634/10.23, allocations: 129.2 kB / 4.369 GB, free: 131.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.006071/10.23, allocations: 2.342 MB / 4.372 GB, free: 129.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01405/10.25, allocations: 2.32 MB / 4.374 GB, free: 127.1 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 (286): * Single equations (assignments): 276 * 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.004778/10.25, allocations: 1.605 MB / 4.376 GB, free: 126 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01384/10.26, allocations: 5.478 MB / 4.381 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/10.26, allocations: 5.109 kB / 4.381 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004229/10.27, allocations: 1.726 MB / 4.383 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01122/10.28, allocations: 1.684 MB / 4.384 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/10.31, allocations: 7.852 MB / 4.392 GB, free: 110.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008606/10.32, allocations: 3.559 MB / 4.395 GB, free: 106.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/10.32, allocations: 0 / 4.395 GB, free: 106.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1769/10.5, allocations: 102 MB / 4.495 GB, free: 6.535 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)