Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.Examples.UTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube") translateModel(Buildings.Fluid.Geothermal.Boreholes.Examples.UTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 187.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.Examples.UTube): time 0.4774/0.7357, allocations: 53.14 MB / 0.8359 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.7569, allocations: 14.38 MB / 0.85 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/0.7611, allocations: 71.56 kB / 0.85 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.765, allocations: 0.9859 MB / 0.851 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009798/0.7749, allocations: 2.741 MB / 0.8537 GB, free: 2.191 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-107:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.7809, allocations: 1.801 MB / 0.8554 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.09725/0.8781, allocations: 54.92 MB / 0.9091 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04/0.9182, allocations: 23.2 MB / 0.9317 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04011/0.9584, allocations: 17.75 MB / 0.949 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0345/0.9929, allocations: 16.09 MB / 0.9648 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.01201/1.005, allocations: 3.336 MB / 0.968 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02522/1.03, allocations: 5.188 MB / 0.9731 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0177/1.048, allocations: 7.568 MB / 0.9805 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.03731/1.085, allocations: 13.61 MB / 0.9938 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.07146/1.157, allocations: 46.09 MB / 1.039 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/1.157, allocations: 0 / 1.039 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/1.157, allocations: 0 / 1.039 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.00136/1.158, allocations: 4 kB / 1.039 GB, free: 5.746 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.09991/1.258, allocations: 26.22 MB / 1.064 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.258, allocations: 12.03 kB / 1.064 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/1.272, allocations: 2.021 MB / 1.066 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05224/1.324, allocations: 22.28 MB / 1.088 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/1.326, allocations: 0.9624 MB / 1.089 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00843/1.334, allocations: 1.378 MB / 1.09 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05463/1.389, allocations: 17.85 MB / 1.108 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000652/1.389, allocations: 39.67 kB / 1.108 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004382/1.394, allocations: 452 kB / 1.108 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003683/1.394, allocations: 307.9 kB / 1.109 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04019/1.434, allocations: 16.04 MB / 1.124 GB, free: 13.55 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9828/2.417, allocations: 99.09 MB / 1.221 GB, free: 202.6 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03942/2.457, allocations: 18.24 MB / 1.239 GB, free: 193.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01239/2.469, allocations: 7.196 MB / 1.246 GB, free: 189.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/2.47, allocations: 0.5717 MB / 1.246 GB, free: 189.2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01295/2.483, allocations: 6.887 MB / 1.253 GB, free: 185.3 MB / 0.92 GB Notification: Performance of pre-optimization done (n=784): time 1.454e-05/2.483, allocations: 0 / 1.253 GB, free: 185.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=784): time 0.04941/2.533, allocations: 22.71 MB / 1.275 GB, free: 165.1 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/2.533, allocations: 240.7 kB / 1.276 GB, free: 164.9 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03606/2.569, allocations: 17.99 MB / 1.293 GB, free: 147.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.004834/2.574, allocations: 309.7 kB / 1.293 GB, free: 146.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01246/2.587, allocations: 6.832 MB / 1.3 GB, free: 140.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.006877/2.593, allocations: 2.846 MB / 1.303 GB, free: 137.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01542/2.609, allocations: 3.195 MB / 1.306 GB, free: 134.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/2.609, allocations: 301.1 kB / 1.306 GB, free: 133.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02037/2.629, allocations: 11.18 MB / 1.317 GB, free: 122.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0234/2.653, allocations: 14.28 MB / 1.331 GB, free: 107.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03306/2.686, allocations: 20.17 MB / 1.351 GB, free: 86.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.891e-05/2.686, allocations: 20 kB / 1.351 GB, free: 86.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=1795) (initialization): time 0.06855/2.755, allocations: 28.92 MB / 1.379 GB, free: 57.33 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/2.755, allocations: 61.7 kB / 1.379 GB, free: 57.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/2.755, allocations: 79.92 kB / 1.379 GB, free: 57.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003489/2.758, allocations: 1.841 MB / 1.381 GB, free: 55.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01846/2.777, allocations: 3.678 MB / 1.385 GB, free: 51.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03589/2.813, allocations: 58.54 MB / 1.442 GB, free: 4.898 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03917/2.852, allocations: 4.679 MB / 1.446 GB, free: 200 kB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005481/2.858, allocations: 0.5428 MB / 1.447 GB, free: 15.65 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04259/2.9, allocations: 17.62 MB / 1.464 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02889/2.929, allocations: 14.28 MB / 1.478 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04032/2.97, allocations: 20.17 MB / 1.498 GB, free: 9.68 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001089/2.97, allocations: 16 kB / 1.498 GB, free: 9.664 MB / 0.9982 GB Notification: Performance of matching and sorting (n=1795) (initialization_lambda0): time 0.9126/3.882, allocations: 28.92 MB / 1.526 GB, free: 299 MB / 0.9983 GB Notification: Performance of prepare postOptimizeDAE: time 9.711e-05/3.882, allocations: 58.09 kB / 1.526 GB, free: 299 MB / 0.9983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002349/3.883, allocations: 73.7 kB / 1.526 GB, free: 299 MB / 0.9983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/3.887, allocations: 1.845 MB / 1.528 GB, free: 298.8 MB / 0.9983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02081/3.908, allocations: 3.676 MB / 1.532 GB, free: 298.8 MB / 0.9983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04236/3.95, allocations: 58.54 MB / 1.589 GB, free: 249.1 MB / 0.9983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04016/3.99, allocations: 4.386 MB / 1.593 GB, free: 248.9 MB / 0.9983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005557/3.996, allocations: 0.5451 MB / 1.594 GB, free: 248.8 MB / 0.9983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 261 * Number of states: 0 () * Number of discrete variables: 95 (borHol.borHol[1].TBouCon.iSam,$PRE.borHol.borHol[1].TBouCon.iSam,borHol.borHol[1].TBouCon.UOld,$PRE.borHol.borHol[1].TBouCon.UOld,borHol.borHol[1].TBouCon.QAve_flow,$PRE.borHol.borHol[1].TBouCon.QAve_flow,borHol.borHol[2].TBouCon.iSam,$PRE.borHol.borHol[2].TBouCon.iSam,borHol.borHol[2].TBouCon.UOld,$PRE.borHol.borHol[2].TBouCon.UOld,borHol.borHol[2].TBouCon.QAve_flow,$PRE.borHol.borHol[2].TBouCon.QAve_flow,borHol.borHol[3].TBouCon.iSam,$PRE.borHol.borHol[3].TBouCon.iSam,borHol.borHol[3].TBouCon.UOld,$PRE.borHol.borHol[3].TBouCon.UOld,borHol.borHol[3].TBouCon.QAve_flow,$PRE.borHol.borHol[3].TBouCon.QAve_flow,borHol.borHol[4].TBouCon.iSam,$PRE.borHol.borHol[4].TBouCon.iSam,borHol.borHol[4].TBouCon.UOld,$PRE.borHol.borHol[4].TBouCon.UOld,borHol.borHol[4].TBouCon.QAve_flow,$PRE.borHol.borHol[4].TBouCon.QAve_flow,borHol.borHol[5].TBouCon.iSam,$PRE.borHol.borHol[5].TBouCon.iSam,borHol.borHol[5].TBouCon.UOld,$PRE.borHol.borHol[5].TBouCon.UOld,borHol.borHol[5].TBouCon.QAve_flow,$PRE.borHol.borHol[5].TBouCon.QAve_flow,borHol.borHol[6].TBouCon.iSam,$PRE.borHol.borHol[6].TBouCon.iSam,borHol.borHol[6].TBouCon.UOld,$PRE.borHol.borHol[6].TBouCon.UOld,borHol.borHol[6].TBouCon.QAve_flow,$PRE.borHol.borHol[6].TBouCon.QAve_flow,borHol.borHol[7].TBouCon.iSam,$PRE.borHol.borHol[7].TBouCon.iSam,borHol.borHol[7].TBouCon.UOld,$PRE.borHol.borHol[7].TBouCon.UOld,borHol.borHol[7].TBouCon.QAve_flow,$PRE.borHol.borHol[7].TBouCon.QAve_flow,borHol.borHol[8].TBouCon.iSam,$PRE.borHol.borHol[8].TBouCon.iSam,borHol.borHol[8].TBouCon.UOld,$PRE.borHol.borHol[8].TBouCon.UOld,borHol.borHol[8].TBouCon.QAve_flow,$PRE.borHol.borHol[8].TBouCon.QAve_flow,borHol.borHol[9].TBouCon.iSam,$PRE.borHol.borHol[9].TBouCon.iSam,borHol.borHol[9].TBouCon.UOld,$PRE.borHol.borHol[9].TBouCon.UOld,borHol.borHol[9].TBouCon.QAve_flow,$PRE.borHol.borHol[9].TBouCon.QAve_flow,borHol.borHol[10].TBouCon.iSam,$PRE.borHol.borHol[10].TBouCon.iSam,borHol.borHol[10].TBouCon.UOld,$PRE.borHol.borHol[10].TBouCon.UOld,borHol.borHol[10].TBouCon.QAve_flow,$PRE.borHol.borHol[10].TBouCon.QAve_flow,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,borHol.borHol[10].TBouCon.port.T,$PRE.borHol.borHol[10].TBouCon.port.T,borHol.borHol[9].TBouCon.port.T,$PRE.borHol.borHol[9].TBouCon.port.T,borHol.borHol[8].TBouCon.port.T,$PRE.borHol.borHol[8].TBouCon.port.T,borHol.borHol[7].TBouCon.port.T,$PRE.borHol.borHol[7].TBouCon.port.T,borHol.borHol[6].TBouCon.port.T,$PRE.borHol.borHol[6].TBouCon.port.T,borHol.borHol[5].TBouCon.port.T,$PRE.borHol.borHol[5].TBouCon.port.T,borHol.borHol[4].TBouCon.port.T,$PRE.borHol.borHol[4].TBouCon.port.T,borHol.borHol[3].TBouCon.port.T,$PRE.borHol.borHol[3].TBouCon.port.T,borHol.borHol[2].TBouCon.port.T,$PRE.borHol.borHol[2].TBouCon.port.T,borHol.borHol[1].TBouCon.port.T,$PRE.borHol.borHol[1].TBouCon.port.T,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1654): * Single equations (assignments): 1613 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 30 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007418/4.004, allocations: 0.983 MB / 1.594 GB, free: 248.1 MB / 0.9983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00732/4.011, allocations: 1.372 MB / 1.596 GB, free: 247.4 MB / 0.9983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03347/4.044, allocations: 14.76 MB / 1.61 GB, free: 241.8 MB / 0.9983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-05/4.044, allocations: 79.72 kB / 1.61 GB, free: 241.8 MB / 0.9983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.349e-05/4.045, allocations: 17.69 kB / 1.61 GB, free: 241.8 MB / 0.9983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02501/4.07, allocations: 12.47 MB / 1.623 GB, free: 237.3 MB / 0.9983 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08944/4.159, allocations: 38.11 MB / 1.66 GB, free: 212.8 MB / 0.9983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/4.159, allocations: 0 / 1.66 GB, free: 212.8 MB / 0.9983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008027/4.167, allocations: 1.48 MB / 1.661 GB, free: 211.3 MB / 0.9983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/4.171, allocations: 1.741 MB / 1.663 GB, free: 209.5 MB / 0.9983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002477/4.173, allocations: 355.4 kB / 1.663 GB, free: 209.2 MB / 0.9983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03365/4.207, allocations: 58.55 MB / 1.72 GB, free: 146.7 MB / 0.9983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/4.207, allocations: 7.938 kB / 1.72 GB, free: 146.7 MB / 0.9983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04158/4.249, allocations: 21.91 MB / 1.742 GB, free: 124.6 MB / 0.9983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01261/4.261, allocations: 3.787 MB / 1.745 GB, free: 120.8 MB / 0.9983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007017/4.268, allocations: 363.8 kB / 1.746 GB, free: 120.5 MB / 0.9983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02057/4.289, allocations: 1.669 MB / 1.747 GB, free: 118.8 MB / 0.9983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003156/4.292, allocations: 0.4935 MB / 1.748 GB, free: 118.3 MB / 0.9983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00221/4.294, allocations: 299.8 kB / 1.748 GB, free: 118 MB / 0.9983 GB Notification: Performance of sorting global known variables: time 0.02833/4.323, allocations: 12.53 MB / 1.76 GB, free: 105.6 MB / 0.9983 GB Notification: Performance of sort global known variables: time 7.11e-07/4.323, allocations: 0 / 1.76 GB, free: 105.6 MB / 0.9983 GB Notification: Performance of remove unused functions: time 0.05816/4.381, allocations: 12.42 MB / 1.773 GB, free: 93.15 MB / 0.9983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 150 (borHol.borHol[1].pipFil.vol1.dynBal.U,borHol.borHol[1].pipFil.vol2.dynBal.U,borHol.borHol[1].pipFil.capFil1.T,borHol.borHol[1].pipFil.capFil2.T,borHol.borHol[1].soi.T[1],borHol.borHol[1].soi.T[2],borHol.borHol[1].soi.T[3],borHol.borHol[1].soi.T[4],borHol.borHol[1].soi.T[5],borHol.borHol[1].soi.T[6],borHol.borHol[1].soi.T[7],borHol.borHol[1].soi.T[8],borHol.borHol[1].soi.T[9],borHol.borHol[1].soi.T[10],borHol.borHol[1].TBouCon.U,borHol.borHol[2].pipFil.vol1.dynBal.U,borHol.borHol[2].pipFil.vol2.dynBal.U,borHol.borHol[2].pipFil.capFil1.T,borHol.borHol[2].pipFil.capFil2.T,borHol.borHol[2].soi.T[1],borHol.borHol[2].soi.T[2],borHol.borHol[2].soi.T[3],borHol.borHol[2].soi.T[4],borHol.borHol[2].soi.T[5],borHol.borHol[2].soi.T[6],borHol.borHol[2].soi.T[7],borHol.borHol[2].soi.T[8],borHol.borHol[2].soi.T[9],borHol.borHol[2].soi.T[10],borHol.borHol[2].TBouCon.U,borHol.borHol[3].pipFil.vol1.dynBal.U,borHol.borHol[3].pipFil.vol2.dynBal.U,borHol.borHol[3].pipFil.capFil1.T,borHol.borHol[3].pipFil.capFil2.T,borHol.borHol[3].soi.T[1],borHol.borHol[3].soi.T[2],borHol.borHol[3].soi.T[3],borHol.borHol[3].soi.T[4],borHol.borHol[3].soi.T[5],borHol.borHol[3].soi.T[6],borHol.borHol[3].soi.T[7],borHol.borHol[3].soi.T[8],borHol.borHol[3].soi.T[9],borHol.borHol[3].soi.T[10],borHol.borHol[3].TBouCon.U,borHol.borHol[4].pipFil.vol1.dynBal.U,borHol.borHol[4].pipFil.vol2.dynBal.U,borHol.borHol[4].pipFil.capFil1.T,borHol.borHol[4].pipFil.capFil2.T,borHol.borHol[4].soi.T[1],borHol.borHol[4].soi.T[2],borHol.borHol[4].soi.T[3],borHol.borHol[4].soi.T[4],borHol.borHol[4].soi.T[5],borHol.borHol[4].soi.T[6],borHol.borHol[4].soi.T[7],borHol.borHol[4].soi.T[8],borHol.borHol[4].soi.T[9],borHol.borHol[4].soi.T[10],borHol.borHol[4].TBouCon.U,borHol.borHol[5].pipFil.vol1.dynBal.U,borHol.borHol[5].pipFil.vol2.dynBal.U,borHol.borHol[5].pipFil.capFil1.T,borHol.borHol[5].pipFil.capFil2.T,borHol.borHol[5].soi.T[1],borHol.borHol[5].soi.T[2],borHol.borHol[5].soi.T[3],borHol.borHol[5].soi.T[4],borHol.borHol[5].soi.T[5],borHol.borHol[5].soi.T[6],borHol.borHol[5].soi.T[7],borHol.borHol[5].soi.T[8],borHol.borHol[5].soi.T[9],borHol.borHol[5].soi.T[10],borHol.borHol[5].TBouCon.U,borHol.borHol[6].pipFil.vol1.dynBal.U,borHol.borHol[6].pipFil.vol2.dynBal.U,borHol.borHol[6].pipFil.capFil1.T,borHol.borHol[6].pipFil.capFil2.T,borHol.borHol[6].soi.T[1],borHol.borHol[6].soi.T[2],borHol.borHol[6].soi.T[3],borHol.borHol[6].soi.T[4],borHol.borHol[6].soi.T[5],borHol.borHol[6].soi.T[6],borHol.borHol[6].soi.T[7],borHol.borHol[6].soi.T[8],borHol.borHol[6].soi.T[9],borHol.borHol[6].soi.T[10],borHol.borHol[6].TBouCon.U,borHol.borHol[7].pipFil.vol1.dynBal.U,borHol.borHol[7].pipFil.vol2.dynBal.U,borHol.borHol[7].pipFil.capFil1.T,borHol.borHol[7].pipFil.capFil2.T,borHol.borHol[7].soi.T[1],borHol.borHol[7].soi.T[2],borHol.borHol[7].soi.T[3],borHol.borHol[7].soi.T[4],borHol.borHol[7].soi.T[5],borHol.borHol[7].soi.T[6],borHol.borHol[7].soi.T[7],borHol.borHol[7].soi.T[8],borHol.borHol[7].soi.T[9],borHol.borHol[7].soi.T[10],borHol.borHol[7].TBouCon.U,borHol.borHol[8].pipFil.vol1.dynBal.U,borHol.borHol[8].pipFil.vol2.dynBal.U,borHol.borHol[8].pipFil.capFil1.T,borHol.borHol[8].pipFil.capFil2.T,borHol.borHol[8].soi.T[1],borHol.borHol[8].soi.T[2],borHol.borHol[8].soi.T[3],borHol.borHol[8].soi.T[4],borHol.borHol[8].soi.T[5],borHol.borHol[8].soi.T[6],borHol.borHol[8].soi.T[7],borHol.borHol[8].soi.T[8],borHol.borHol[8].soi.T[9],borHol.borHol[8].soi.T[10],borHol.borHol[8].TBouCon.U,borHol.borHol[9].pipFil.vol1.dynBal.U,borHol.borHol[9].pipFil.vol2.dynBal.U,borHol.borHol[9].pipFil.capFil1.T,borHol.borHol[9].pipFil.capFil2.T,borHol.borHol[9].soi.T[1],borHol.borHol[9].soi.T[2],borHol.borHol[9].soi.T[3],borHol.borHol[9].soi.T[4],borHol.borHol[9].soi.T[5],borHol.borHol[9].soi.T[6],borHol.borHol[9].soi.T[7],borHol.borHol[9].soi.T[8],borHol.borHol[9].soi.T[9],borHol.borHol[9].soi.T[10],borHol.borHol[9].TBouCon.U,borHol.borHol[10].pipFil.vol1.dynBal.U,borHol.borHol[10].pipFil.vol2.dynBal.U,borHol.borHol[10].pipFil.capFil1.T,borHol.borHol[10].pipFil.capFil2.T,borHol.borHol[10].soi.T[1],borHol.borHol[10].soi.T[2],borHol.borHol[10].soi.T[3],borHol.borHol[10].soi.T[4],borHol.borHol[10].soi.T[5],borHol.borHol[10].soi.T[6],borHol.borHol[10].soi.T[7],borHol.borHol[10].soi.T[8],borHol.borHol[10].soi.T[9],borHol.borHol[10].soi.T[10],borHol.borHol[10].TBouCon.U) * Number of discrete variables: 53 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,borHol.borHol[1].TBouCon.QAve_flow,borHol.borHol[1].TBouCon.port.T,borHol.borHol[1].TBouCon.UOld,borHol.borHol[1].TBouCon.iSam,borHol.borHol[2].TBouCon.QAve_flow,borHol.borHol[2].TBouCon.port.T,borHol.borHol[2].TBouCon.UOld,borHol.borHol[2].TBouCon.iSam,borHol.borHol[3].TBouCon.QAve_flow,borHol.borHol[3].TBouCon.port.T,borHol.borHol[3].TBouCon.UOld,borHol.borHol[3].TBouCon.iSam,borHol.borHol[4].TBouCon.QAve_flow,borHol.borHol[4].TBouCon.port.T,borHol.borHol[4].TBouCon.UOld,borHol.borHol[4].TBouCon.iSam,borHol.borHol[5].TBouCon.QAve_flow,borHol.borHol[5].TBouCon.port.T,borHol.borHol[5].TBouCon.UOld,borHol.borHol[5].TBouCon.iSam,borHol.borHol[6].TBouCon.QAve_flow,borHol.borHol[6].TBouCon.port.T,borHol.borHol[6].TBouCon.UOld,borHol.borHol[6].TBouCon.iSam,borHol.borHol[7].TBouCon.QAve_flow,borHol.borHol[7].TBouCon.port.T,borHol.borHol[7].TBouCon.UOld,borHol.borHol[7].TBouCon.iSam,borHol.borHol[8].TBouCon.QAve_flow,borHol.borHol[8].TBouCon.port.T,borHol.borHol[8].TBouCon.UOld,borHol.borHol[8].TBouCon.iSam,borHol.borHol[9].TBouCon.QAve_flow,borHol.borHol[9].TBouCon.port.T,borHol.borHol[9].TBouCon.UOld,borHol.borHol[9].TBouCon.iSam,borHol.borHol[10].TBouCon.QAve_flow,borHol.borHol[10].TBouCon.port.T,borHol.borHol[10].TBouCon.UOld,borHol.borHol[10].TBouCon.iSam,pulse.T_start,pulse.count) * Number of discrete states: 21 (pulse.count,borHol.borHol[1].TBouCon.iSam,borHol.borHol[1].TBouCon.UOld,borHol.borHol[2].TBouCon.iSam,borHol.borHol[2].TBouCon.UOld,borHol.borHol[3].TBouCon.iSam,borHol.borHol[3].TBouCon.UOld,borHol.borHol[4].TBouCon.iSam,borHol.borHol[4].TBouCon.UOld,borHol.borHol[5].TBouCon.iSam,borHol.borHol[5].TBouCon.UOld,borHol.borHol[6].TBouCon.iSam,borHol.borHol[6].TBouCon.UOld,borHol.borHol[7].TBouCon.iSam,borHol.borHol[7].TBouCon.UOld,borHol.borHol[8].TBouCon.iSam,borHol.borHol[8].TBouCon.UOld,borHol.borHol[9].TBouCon.iSam,borHol.borHol[9].TBouCon.UOld,borHol.borHol[10].TBouCon.iSam,borHol.borHol[10].TBouCon.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (675): * Single equations (assignments): 602 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 42 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 30 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004393/4.385, allocations: 1.008 MB / 1.774 GB, free: 92.2 MB / 0.9983 GB Notification: Performance of simCode: created initialization part: time 0.1635/4.549, allocations: 83.83 MB / 1.855 GB, free: 7.594 MB / 0.9983 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/4.549, allocations: 4.562 kB / 1.855 GB, free: 7.59 MB / 0.9983 GB Notification: Performance of simCode: created simulation system equations: time 0.01731/4.566, allocations: 10.09 MB / 1.865 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06249/4.629, allocations: 8.794 MB / 1.874 GB, free: 4.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5439/5.173, allocations: 45.9 MB / 1.919 GB, free: 290.9 MB / 1.03 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02772/5.201, allocations: 11.55 MB / 1.93 GB, free: 289.8 MB / 1.03 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009521/5.21, allocations: 1.192 MB / 1.931 GB, free: 289.8 MB / 1.03 GB Notification: Performance of SimCode: time 8.837e-06/5.21, allocations: 4 kB / 1.931 GB, free: 289.8 MB / 1.03 GB Notification: Performance of Templates: time 7.913/13.12, allocations: 3.317 GB / 5.248 GB, free: 246.1 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTubeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTubeCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTubeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTubeFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/initArray.c:21:28: error: cannot initialize a variable of type 'ExternalObjectStructure *' with an rvalue of type 'void *' ExternalObjectStructure* table = malloc(sizeof(ExternalObjectStructure)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTubeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTubeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/exchangeValues.c:37:15: error: assigning to 'double *' from incompatible type 'void *' table->x= malloc( nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/exchangeValues.c:50:12: error: assigning to 'double *' from incompatible type 'void *' tab2 = malloc( nTab * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/exchangeValues.c:59:16: error: assigning to 'double *' from incompatible type 'void *' table->x = malloc(nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.Examples.UTubeCalcHelperMain.o] Error 1