Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.002616/0.002617, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.001871, allocations: 270.8 kB / 291.2 MB, free: 1.941 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9699/0.9699, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007741/0.0007745, allocations: 17.81 kB / 0.5684 GB, free: 38.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2478, allocations: 83.09 MB / 0.6496 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.1184/0.3663, allocations: 70.58 MB / 0.7185 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05392/0.4203, allocations: 22.33 MB / 0.7403 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006843/0.4272, allocations: 95.44 kB / 0.7404 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009409/0.4367, allocations: 1.586 MB / 0.7419 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02243/0.4592, allocations: 3.88 MB / 0.7457 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01809/0.4773, allocations: 3.414 MB / 0.7491 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 1.071/1.548, allocations: 39.92 MB / 0.788 GB, free: 9.371 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06423/1.612, allocations: 22.96 MB / 0.8105 GB, free: 5.816 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03903/1.651, allocations: 15.11 MB / 0.8252 GB, free: 5.812 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03052/1.682, allocations: 13.16 MB / 0.8381 GB, free: 3.215 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.01077/1.693, allocations: 1.196 MB / 0.8392 GB, free: 3.215 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02694/1.72, allocations: 3.414 MB / 0.8426 GB, free: 3.172 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.01308/1.733, allocations: 4.777 MB / 0.8472 GB, free: 1.359 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.01732/1.75, allocations: 6.326 MB / 0.8534 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.06975/1.82, allocations: 51.91 MB / 0.9041 GB, free: 164 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.82, allocations: 0 / 0.9041 GB, free: 164 kB / 0.6075 GB Notification: Performance of FrontEnd: time 4.568e-06/1.82, allocations: 0 / 0.9041 GB, free: 164 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00202/1.822, allocations: 0 / 0.9041 GB, free: 164 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.07731/1.9, allocations: 25.49 MB / 0.929 GB, free: 8.957 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/1.9, allocations: 8.031 kB / 0.929 GB, free: 8.949 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01625/1.916, allocations: 2.349 MB / 0.9313 GB, free: 7.68 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/1.938, allocations: 3.047 MB / 0.9343 GB, free: 4.602 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08797/2.026, allocations: 31.08 MB / 0.9646 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003426/2.029, allocations: 2.371 MB / 0.967 GB, free: 11.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01073/2.04, allocations: 1.77 MB / 0.9687 GB, free: 9.324 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08869/2.129, allocations: 26.36 MB / 0.9944 GB, free: 14.5 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001111/2.13, allocations: 59.52 kB / 0.9945 GB, free: 14.45 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008063/2.138, allocations: 0.7089 MB / 0.9952 GB, free: 13.74 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004812/2.139, allocations: 420 kB / 0.9956 GB, free: 13.33 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07027/2.209, allocations: 23.47 MB / 1.019 GB, free: 5.832 MB / 0.7169 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.718/2.927, allocations: 102.2 MB / 1.118 GB, free: 189.4 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03137/2.958, allocations: 14.53 MB / 1.133 GB, free: 181.7 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003058/2.962, allocations: 2.656 MB / 1.135 GB, free: 178.9 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/2.962, allocations: 164.7 kB / 1.135 GB, free: 178.7 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01575/2.978, allocations: 1.117 MB / 1.136 GB, free: 178.5 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=1106): time 0.0001383/2.978, allocations: 3.938 kB / 1.136 GB, free: 178.5 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1106): time 0.07043/3.048, allocations: 30.34 MB / 1.166 GB, free: 160.2 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/3.048, allocations: 164.1 kB / 1.166 GB, free: 160.1 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05266/3.101, allocations: 24.57 MB / 1.19 GB, free: 135.8 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.003293/3.104, allocations: 253.7 kB / 1.19 GB, free: 135.5 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.01394/3.118, allocations: 10.79 MB / 1.201 GB, free: 125.3 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.006594/3.125, allocations: 3.907 MB / 1.205 GB, free: 121.4 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/3.127, allocations: 312 kB / 1.205 GB, free: 121.1 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.001248/3.128, allocations: 0.9549 MB / 1.206 GB, free: 120.1 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01617/3.144, allocations: 7.962 MB / 1.214 GB, free: 112.2 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01872/3.163, allocations: 11.41 MB / 1.225 GB, free: 99.58 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01843/3.182, allocations: 10.24 MB / 1.235 GB, free: 89.3 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.703e-05/3.182, allocations: 20 kB / 1.235 GB, free: 89.29 MB / 0.7482 GB Notification: Performance of matching and sorting (n=2002) (initialization): time 0.06117/3.243, allocations: 24.37 MB / 1.259 GB, free: 64.71 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.008096/3.251, allocations: 51.68 MB / 1.309 GB, free: 10.27 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003515/3.252, allocations: 96 kB / 1.309 GB, free: 10.18 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005152/3.257, allocations: 2.764 MB / 1.312 GB, free: 7.285 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/3.271, allocations: 3.452 MB / 1.315 GB, free: 3.828 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5787/3.85, allocations: 68.48 MB / 1.382 GB, free: 210.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03248/3.883, allocations: 2.12 MB / 1.384 GB, free: 210.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005421/3.888, allocations: 0.6163 MB / 1.385 GB, free: 210.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/3.888, allocations: 4.688 kB / 1.385 GB, free: 210.7 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08963/3.978, allocations: 21.81 MB / 1.406 GB, free: 209.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001032/3.979, allocations: 107.5 kB / 1.406 GB, free: 209.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006082/3.985, allocations: 2.027 MB / 1.408 GB, free: 209.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02564/4.011, allocations: 3.566 MB / 1.412 GB, free: 209 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0721/4.083, allocations: 68.88 MB / 1.479 GB, free: 147.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02768/4.111, allocations: 2.075 MB / 1.481 GB, free: 146.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004369/4.115, allocations: 0.5794 MB / 1.482 GB, free: 146.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 307 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1784): * Single equations (assignments): 1733 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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%) 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} * Non-linear torn systems: 1 {1 58} Notification: Performance of prepare postOptimizeDAE: time 0.02562/4.141, allocations: 9.977 MB / 1.491 GB, free: 140.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009087/4.15, allocations: 2.002 MB / 1.493 GB, free: 138.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04667/4.197, allocations: 19.16 MB / 1.512 GB, free: 119.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/4.197, allocations: 108 kB / 1.512 GB, free: 119.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-05/4.197, allocations: 20 kB / 1.512 GB, free: 119.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04324/4.24, allocations: 15.56 MB / 1.527 GB, free: 103.8 MB / 0.7794 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.1633/4.403, allocations: 45 MB / 1.571 GB, free: 58.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001744/4.404, allocations: 4 kB / 1.571 GB, free: 58.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01664/4.42, allocations: 2.415 MB / 1.574 GB, free: 55.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007035/4.427, allocations: 2.512 MB / 1.576 GB, free: 53.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003788/4.431, allocations: 313.1 kB / 1.576 GB, free: 52.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06611/4.497, allocations: 68.43 MB / 1.643 GB, free: 11.22 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/4.497, allocations: 4.031 kB / 1.643 GB, free: 11.21 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6703/5.168, allocations: 27.82 MB / 1.67 GB, free: 235.7 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01974/5.188, allocations: 5.066 MB / 1.675 GB, free: 235.7 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008222/5.196, allocations: 253.9 kB / 1.676 GB, free: 235.7 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0228/5.219, allocations: 1.528 MB / 1.677 GB, free: 235.7 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003555/5.222, allocations: 0.698 MB / 1.678 GB, free: 235.6 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00239/5.225, allocations: 426.2 kB / 1.678 GB, free: 235.6 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.04421/5.269, allocations: 17.5 MB / 1.695 GB, free: 235.1 MB / 0.8107 GB Notification: Performance of sort global known variables: time 2.856e-06/5.269, allocations: 0 / 1.695 GB, free: 235.1 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.09252/5.362, allocations: 12.55 MB / 1.707 GB, free: 233.8 MB / 0.8107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 80 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].vol3.dynBal.U,borHol.intHex[1].vol4.dynBal.U,borHol.intHex[1].intRes2UTub.capFil1.T,borHol.intHex[1].intRes2UTub.capFil2.T,borHol.intHex[1].intRes2UTub.capFil3.T,borHol.intHex[1].intRes2UTub.capFil4.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].vol3.dynBal.U,borHol.intHex[2].vol4.dynBal.U,borHol.intHex[2].intRes2UTub.capFil1.T,borHol.intHex[2].intRes2UTub.capFil2.T,borHol.intHex[2].intRes2UTub.capFil3.T,borHol.intHex[2].intRes2UTub.capFil4.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].vol3.dynBal.U,borHol.intHex[3].vol4.dynBal.U,borHol.intHex[3].intRes2UTub.capFil1.T,borHol.intHex[3].intRes2UTub.capFil2.T,borHol.intHex[3].intRes2UTub.capFil3.T,borHol.intHex[3].intRes2UTub.capFil4.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].vol3.dynBal.U,borHol.intHex[4].vol4.dynBal.U,borHol.intHex[4].intRes2UTub.capFil1.T,borHol.intHex[4].intRes2UTub.capFil2.T,borHol.intHex[4].intRes2UTub.capFil3.T,borHol.intHex[4].intRes2UTub.capFil4.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].vol3.dynBal.U,borHol.intHex[5].vol4.dynBal.U,borHol.intHex[5].intRes2UTub.capFil1.T,borHol.intHex[5].intRes2UTub.capFil2.T,borHol.intHex[5].intRes2UTub.capFil3.T,borHol.intHex[5].intRes2UTub.capFil4.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].vol3.dynBal.U,borHol.intHex[6].vol4.dynBal.U,borHol.intHex[6].intRes2UTub.capFil1.T,borHol.intHex[6].intRes2UTub.capFil2.T,borHol.intHex[6].intRes2UTub.capFil3.T,borHol.intHex[6].intRes2UTub.capFil4.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].vol3.dynBal.U,borHol.intHex[7].vol4.dynBal.U,borHol.intHex[7].intRes2UTub.capFil1.T,borHol.intHex[7].intRes2UTub.capFil2.T,borHol.intHex[7].intRes2UTub.capFil3.T,borHol.intHex[7].intRes2UTub.capFil4.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].vol3.dynBal.U,borHol.intHex[8].vol4.dynBal.U,borHol.intHex[8].intRes2UTub.capFil1.T,borHol.intHex[8].intRes2UTub.capFil2.T,borHol.intHex[8].intRes2UTub.capFil3.T,borHol.intHex[8].intRes2UTub.capFil4.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].vol3.dynBal.U,borHol.intHex[9].vol4.dynBal.U,borHol.intHex[9].intRes2UTub.capFil1.T,borHol.intHex[9].intRes2UTub.capFil2.T,borHol.intHex[9].intRes2UTub.capFil3.T,borHol.intHex[9].intRes2UTub.capFil4.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].vol3.dynBal.U,borHol.intHex[10].vol4.dynBal.U,borHol.intHex[10].intRes2UTub.capFil1.T,borHol.intHex[10].intRes2UTub.capFil2.T,borHol.intHex[10].intRes2UTub.capFil3.T,borHol.intHex[10].intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (957): * Single equations (assignments): 910 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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%) 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} * Non-linear torn systems: 1 {1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.08715/5.449, allocations: 29.53 MB / 1.736 GB, free: 217.1 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.07763/5.526, allocations: 39.62 MB / 1.775 GB, free: 176.9 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-05/5.527, allocations: 8.656 kB / 1.775 GB, free: 176.9 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.02262/5.549, allocations: 12.7 MB / 1.787 GB, free: 163.8 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06852/5.618, allocations: 11.95 MB / 1.799 GB, free: 152.7 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2142/5.832, allocations: 132.5 MB / 1.929 GB, free: 17.71 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03922/5.871, allocations: 17.39 MB / 1.945 GB, free: 280 kB / 0.8107 GB Notification: Performance of simCode: alias equations: time 0.06263/5.934, allocations: 16.01 MB / 1.961 GB, free: 0.5664 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6239/6.558, allocations: 10.77 MB / 1.972 GB, free: 234.3 MB / 0.8419 GB Notification: Performance of SimCode: time 1.362e-06/6.558, allocations: 2.719 kB / 1.972 GB, free: 234.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.497/9.055, allocations: 0.6395 GB / 2.611 GB, free: 145.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/9.056, allocations: 314 kB / 2.611 GB, free: 145.4 MB / 0.8419 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:1: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:5816:98: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1905] /* borHol.intHex[10].preDro3.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1925] /* borHol.intHex[10].preDro3.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:5844:113: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1945] /* borHol.intHex[10].preDro3.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1925] /* borHol.intHex[10].preDro3.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:5984:98: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1604] /* borHol.intHex[10].preDro1.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1624] /* borHol.intHex[10].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:6012:113: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1644] /* borHol.intHex[10].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1624] /* borHol.intHex[10].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:7056:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1904] /* borHol.intHex[9].preDro3.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1924] /* borHol.intHex[9].preDro3.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:7084:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1944] /* borHol.intHex[9].preDro3.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1924] /* borHol.intHex[9].preDro3.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:7224:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1603] /* borHol.intHex[9].preDro1.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1623] /* borHol.intHex[9].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:7252:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1643] /* borHol.intHex[9].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1623] /* borHol.intHex[9].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:8282:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1903] /* borHol.intHex[8].preDro3.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1923] /* borHol.intHex[8].preDro3.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:8310:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1943] /* borHol.intHex[8].preDro3.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1923] /* borHol.intHex[8].preDro3.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:8450:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1602] /* borHol.intHex[8].preDro1.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1622] /* borHol.intHex[8].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:8478:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1642] /* borHol.intHex[8].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1622] /* borHol.intHex[8].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:9508:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1902] /* borHol.intHex[7].preDro3.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1922] /* borHol.intHex[7].preDro3.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:9536:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1942] /* borHol.intHex[7].preDro3.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1922] /* borHol.intHex[7].preDro3.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:9676:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1601] /* borHol.intHex[7].preDro1.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1621] /* borHol.intHex[7].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:9704:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1641] /* borHol.intHex[7].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1621] /* borHol.intHex[7].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:10734:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1901] /* borHol.intHex[6].preDro3.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1921] /* borHol.intHex[6].preDro3.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:10762:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1941] /* borHol.intHex[6].preDro3.m_flow_turbulent PARAM */ = (_OMC_LIT71?(0.1) * (data->simulationInfo->realParameter[1921] /* borHol.intHex[6].preDro3.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.c:10902:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1600] /* borHol.intHex[6].preDro1.k PARAM */ = (_OMC_LIT71?DIVISION_SIM(data->simulationInfo->realParameter[1620] /* borHol.intHex[6].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd_part0.o] Error 1