Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.Examples.UTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.Examples.UTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.583/1.583, allocations: 287.4 MB / 302.6 MB, free: 8.309 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.001023/0.001023, allocations: 185.4 kB / 371.1 MB, free: 10.82 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.289/1.289, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007103/0.0007104, allocations: 99.78 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003963, allocations: 11.31 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.Examples.UTube): time 0.03766/0.2124, allocations: 49 MB / 1.027 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2293, allocations: 13.48 MB / 1.04 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.2315, allocations: 59.62 kB / 1.04 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.2336, allocations: 0.6716 MB / 1.04 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005368/0.239, allocations: 2.039 MB / 1.042 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.2425, allocations: 1.191 MB / 1.044 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.4257/0.6682, allocations: 54.6 MB / 1.097 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02712/0.6953, allocations: 16.86 MB / 1.113 GB, free: 25.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02541/0.7208, allocations: 12.22 MB / 1.125 GB, free: 23.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02407/0.7449, allocations: 13.25 MB / 1.138 GB, free: 20.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.005566/0.7505, allocations: 0.945 MB / 1.139 GB, free: 20.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.764, allocations: 2.251 MB / 1.141 GB, free: 20.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.008507/0.7725, allocations: 4.632 MB / 1.146 GB, free: 18.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.7828, allocations: 4.357 MB / 1.15 GB, free: 17.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.03922/0.822, allocations: 38.02 MB / 1.187 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.8221, allocations: 4 kB / 1.187 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8221, allocations: 0 / 1.187 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001072/0.8232, allocations: 0 / 1.187 GB, free: 13.13 MB / 0.7292 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.06275/0.8859, allocations: 21.9 MB / 1.209 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.886, allocations: 16.03 kB / 1.209 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005704/0.8917, allocations: 1.485 MB / 1.21 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.902, allocations: 2.025 MB / 1.212 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04869/0.9507, allocations: 24.04 MB / 1.236 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/0.9518, allocations: 0.968 MB / 1.237 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006556/0.9584, allocations: 1.377 MB / 1.238 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04154/1, allocations: 17.77 MB / 1.255 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006123/1.001, allocations: 31.69 kB / 1.255 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003249/1.004, allocations: 459 kB / 1.256 GB, free: 7.141 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003379/1.004, allocations: 311.9 kB / 1.256 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03388/1.038, allocations: 15.97 MB / 1.272 GB, free: 6.84 MB / 0.8073 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.1736/1.212, allocations: 97.75 MB / 1.367 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03727/1.249, allocations: 18.2 MB / 1.385 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01288/1.262, allocations: 7.241 MB / 1.392 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/1.263, allocations: 0.5693 MB / 1.393 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01262/1.276, allocations: 6.863 MB / 1.399 GB, free: 15.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=784): time 1.133e-05/1.276, allocations: 0 / 1.399 GB, free: 15.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=784): time 0.04539/1.321, allocations: 22.79 MB / 1.421 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/1.321, allocations: 234.8 kB / 1.422 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.704/2.025, allocations: 16.88 MB / 1.438 GB, free: 303.8 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.003856/2.029, allocations: 317.9 kB / 1.438 GB, free: 303.7 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.009989/2.039, allocations: 6.823 MB / 1.445 GB, free: 301 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.005017/2.044, allocations: 2.848 MB / 1.448 GB, free: 299.3 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002221/2.047, allocations: 276.1 kB / 1.448 GB, free: 299.1 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001017/2.048, allocations: 0.9035 MB / 1.449 GB, free: 298.6 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02022/2.068, allocations: 10.99 MB / 1.46 GB, free: 294.8 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02323/2.091, allocations: 14.16 MB / 1.474 GB, free: 287.9 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03307/2.124, allocations: 20.04 MB / 1.493 GB, free: 278.6 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/2.124, allocations: 17.69 kB / 1.493 GB, free: 278.6 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1795) (initialization): time 0.05659/2.181, allocations: 28.66 MB / 1.521 GB, free: 265.2 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009811/2.182, allocations: 1.926 MB / 1.523 GB, free: 262.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002045/2.182, allocations: 72 kB / 1.523 GB, free: 262.5 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/2.186, allocations: 1.831 MB / 1.525 GB, free: 260.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01762/2.203, allocations: 3.677 MB / 1.529 GB, free: 256.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03121/2.235, allocations: 52.93 MB / 1.58 GB, free: 200.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03423/2.269, allocations: 5.219 MB / 1.585 GB, free: 194.9 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004197/2.273, allocations: 0.5428 MB / 1.586 GB, free: 194.4 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/2.273, allocations: 4 kB / 1.586 GB, free: 194.4 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05713/2.33, allocations: 27.42 MB / 1.613 GB, free: 166.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003076/2.331, allocations: 72 kB / 1.613 GB, free: 166.8 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/2.334, allocations: 1.821 MB / 1.614 GB, free: 164.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01728/2.351, allocations: 3.681 MB / 1.618 GB, free: 161.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03115/2.382, allocations: 53.52 MB / 1.67 GB, free: 103.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03378/2.416, allocations: 4.977 MB / 1.675 GB, free: 98.66 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004049/2.42, allocations: 0.5388 MB / 1.676 GB, free: 98.12 MB / 0.9637 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 ($PRE.borHol.borHol[1].TBouCon.iSam,borHol.borHol[1].TBouCon.iSam,$PRE.borHol.borHol[1].TBouCon.UOld,borHol.borHol[1].TBouCon.UOld,$PRE.borHol.borHol[1].TBouCon.QAve_flow,borHol.borHol[1].TBouCon.QAve_flow,$PRE.borHol.borHol[2].TBouCon.iSam,borHol.borHol[2].TBouCon.iSam,$PRE.borHol.borHol[2].TBouCon.UOld,borHol.borHol[2].TBouCon.UOld,$PRE.borHol.borHol[2].TBouCon.QAve_flow,borHol.borHol[2].TBouCon.QAve_flow,$PRE.borHol.borHol[3].TBouCon.iSam,borHol.borHol[3].TBouCon.iSam,$PRE.borHol.borHol[3].TBouCon.UOld,borHol.borHol[3].TBouCon.UOld,$PRE.borHol.borHol[3].TBouCon.QAve_flow,borHol.borHol[3].TBouCon.QAve_flow,$PRE.borHol.borHol[4].TBouCon.iSam,borHol.borHol[4].TBouCon.iSam,$PRE.borHol.borHol[4].TBouCon.UOld,borHol.borHol[4].TBouCon.UOld,$PRE.borHol.borHol[4].TBouCon.QAve_flow,borHol.borHol[4].TBouCon.QAve_flow,$PRE.borHol.borHol[5].TBouCon.iSam,borHol.borHol[5].TBouCon.iSam,$PRE.borHol.borHol[5].TBouCon.UOld,borHol.borHol[5].TBouCon.UOld,$PRE.borHol.borHol[5].TBouCon.QAve_flow,borHol.borHol[5].TBouCon.QAve_flow,$PRE.borHol.borHol[6].TBouCon.iSam,borHol.borHol[6].TBouCon.iSam,$PRE.borHol.borHol[6].TBouCon.UOld,borHol.borHol[6].TBouCon.UOld,$PRE.borHol.borHol[6].TBouCon.QAve_flow,borHol.borHol[6].TBouCon.QAve_flow,$PRE.borHol.borHol[7].TBouCon.iSam,borHol.borHol[7].TBouCon.iSam,$PRE.borHol.borHol[7].TBouCon.UOld,borHol.borHol[7].TBouCon.UOld,$PRE.borHol.borHol[7].TBouCon.QAve_flow,borHol.borHol[7].TBouCon.QAve_flow,$PRE.borHol.borHol[8].TBouCon.iSam,borHol.borHol[8].TBouCon.iSam,$PRE.borHol.borHol[8].TBouCon.UOld,borHol.borHol[8].TBouCon.UOld,$PRE.borHol.borHol[8].TBouCon.QAve_flow,borHol.borHol[8].TBouCon.QAve_flow,$PRE.borHol.borHol[9].TBouCon.iSam,borHol.borHol[9].TBouCon.iSam,$PRE.borHol.borHol[9].TBouCon.UOld,borHol.borHol[9].TBouCon.UOld,$PRE.borHol.borHol[9].TBouCon.QAve_flow,borHol.borHol[9].TBouCon.QAve_flow,$PRE.borHol.borHol[10].TBouCon.iSam,borHol.borHol[10].TBouCon.iSam,$PRE.borHol.borHol[10].TBouCon.UOld,borHol.borHol[10].TBouCon.UOld,$PRE.borHol.borHol[10].TBouCon.QAve_flow,borHol.borHol[10].TBouCon.QAve_flow,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.borHol.borHol[1].TBouCon.port.T,borHol.borHol[1].TBouCon.port.T,$PRE.borHol.borHol[2].TBouCon.port.T,borHol.borHol[2].TBouCon.port.T,$PRE.borHol.borHol[3].TBouCon.port.T,borHol.borHol[3].TBouCon.port.T,$PRE.borHol.borHol[4].TBouCon.port.T,borHol.borHol[4].TBouCon.port.T,$PRE.borHol.borHol[5].TBouCon.port.T,borHol.borHol[5].TBouCon.port.T,$PRE.borHol.borHol[6].TBouCon.port.T,borHol.borHol[6].TBouCon.port.T,$PRE.borHol.borHol[7].TBouCon.port.T,borHol.borHol[7].TBouCon.port.T,$PRE.borHol.borHol[8].TBouCon.port.T,borHol.borHol[8].TBouCon.port.T,$PRE.borHol.borHol[9].TBouCon.port.T,borHol.borHol[9].TBouCon.port.T,$PRE.borHol.borHol[10].TBouCon.port.T,borHol.borHol[10].TBouCon.port.T,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 30 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0151/2.435, allocations: 7.133 MB / 1.683 GB, free: 90.97 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004814/2.44, allocations: 1.373 MB / 1.684 GB, free: 89.58 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/2.466, allocations: 14.74 MB / 1.698 GB, free: 74.7 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/2.466, allocations: 79.98 kB / 1.698 GB, free: 74.62 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/2.466, allocations: 20 kB / 1.699 GB, free: 74.6 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01661/2.483, allocations: 12.45 MB / 1.711 GB, free: 62 MB / 0.9637 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.05702/2.54, allocations: 36.75 MB / 1.747 GB, free: 24.91 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/2.54, allocations: 0 / 1.747 GB, free: 24.91 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006442/2.546, allocations: 1.475 MB / 1.748 GB, free: 23.43 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/2.549, allocations: 1.735 MB / 1.75 GB, free: 21.6 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00114/2.55, allocations: 351.7 kB / 1.75 GB, free: 21.26 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7039/3.254, allocations: 52.9 MB / 1.802 GB, free: 279.9 MB / 0.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.254, allocations: 1.344 kB / 1.802 GB, free: 279.9 MB / 0.995 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03899/3.293, allocations: 21.87 MB / 1.823 GB, free: 279.1 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009647/3.303, allocations: 3.773 MB / 1.827 GB, free: 278.2 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003814/3.307, allocations: 358 kB / 1.827 GB, free: 278 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01779/3.325, allocations: 2.15 MB / 1.829 GB, free: 277.9 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001606/3.326, allocations: 0.5061 MB / 1.83 GB, free: 277.9 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000798/3.327, allocations: 293.7 kB / 1.83 GB, free: 277.8 MB / 0.995 GB Notification: Performance of sorting global known variables: time 0.02078/3.348, allocations: 11.71 MB / 1.841 GB, free: 273.9 MB / 0.995 GB Notification: Performance of sort global known variables: time 3.51e-07/3.348, allocations: 1.594 kB / 1.841 GB, free: 273.9 MB / 0.995 GB Notification: Performance of remove unused functions: time 0.03696/3.385, allocations: 12.12 MB / 1.853 GB, free: 273.3 MB / 0.995 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 (linear and non-linear blocks): 0 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 30 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03171/3.417, allocations: 23.36 MB / 1.876 GB, free: 264.4 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.06043/3.477, allocations: 41.78 MB / 1.917 GB, free: 235.6 MB / 0.995 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/3.477, allocations: 4.562 kB / 1.917 GB, free: 235.6 MB / 0.995 GB Notification: Performance of simCode: created simulation system equations: time 0.01235/3.49, allocations: 10.03 MB / 1.927 GB, free: 226.4 MB / 0.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04243/3.532, allocations: 8.542 MB / 1.935 GB, free: 220.4 MB / 0.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.764/5.296, allocations: 219.6 MB / 2.149 GB, free: 10.94 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02179/5.318, allocations: 11.63 MB / 2.161 GB, free: 15.26 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.04661/5.365, allocations: 13.75 MB / 2.174 GB, free: 1.531 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01892/5.384, allocations: 7.161 MB / 2.181 GB, free: 10.42 MB / 1.042 GB Notification: Performance of SimCode: time 8.92e-07/5.384, allocations: 0 / 2.181 GB, free: 10.42 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.051/7.435, allocations: 0.5226 GB / 2.704 GB, free: 259.7 MB / 1.058 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/7.435, allocations: 249.7 kB / 2.704 GB, free: 259.4 MB / 1.058 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_includes.h:4: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/freeArray.c:13: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/externalObjectStructure.h:8:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_Examples_UTube_functions.o] Error 1