Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",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.00141/0.001411, allocations: 100.2 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.001673/0.001673, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.286/2.286, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.151/1.151, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005693/0.0005695, allocations: 15.94 kB / 0.5033 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7259, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.1054/0.8314, allocations: 58.44 MB / 0.6401 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03465/0.8662, allocations: 15.3 MB / 0.655 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005958/0.8722, allocations: 59.62 kB / 0.6551 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007821/0.8801, allocations: 1.081 MB / 0.6561 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01511/0.8953, allocations: 2.27 MB / 0.6583 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.9091, allocations: 2.582 MB / 0.6609 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.05824/0.9673, allocations: 20.48 MB / 0.6809 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0315/0.9989, allocations: 11.5 MB / 0.6921 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02423/1.023, allocations: 7.719 MB / 0.6996 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02093/1.044, allocations: 6.95 MB / 0.7064 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.005208/1.049, allocations: 0.6172 MB / 0.707 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/1.067, allocations: 2.466 MB / 0.7094 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.008353/1.075, allocations: 2.607 MB / 0.712 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01256/1.088, allocations: 3.385 MB / 0.7153 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05275/1.141, allocations: 27.3 MB / 0.7419 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.141, allocations: 0 / 0.7419 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.941e-06/1.141, allocations: 0 / 0.7419 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.00136/1.142, allocations: 0 / 0.7419 GB, free: 13.46 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.06017/1.202, allocations: 13.76 MB / 0.7554 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.668e-05/1.202, allocations: 15.97 kB / 0.7554 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008003/1.21, allocations: 1.154 MB / 0.7565 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/1.226, allocations: 1.641 MB / 0.7581 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06507/1.291, allocations: 17.86 MB / 0.7755 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001876/1.293, allocations: 1.184 MB / 0.7767 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005315/1.298, allocations: 0.8747 MB / 0.7776 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05381/1.352, allocations: 12.7 MB / 0.79 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007746/1.353, allocations: 31.77 kB / 0.79 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004687/1.358, allocations: 360 kB / 0.7903 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003198/1.358, allocations: 204 kB / 0.7905 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04166/1.4, allocations: 11.07 MB / 0.8013 GB, free: 15.93 MB / 0.6387 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 1.132/2.532, allocations: 50.52 MB / 0.8507 GB, free: 153 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/2.548, allocations: 6.47 MB / 0.857 GB, free: 149.5 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/2.551, allocations: 2.204 MB / 0.8591 GB, free: 147.1 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/2.551, allocations: 96.73 kB / 0.8592 GB, free: 147 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=520): time 1.243e-05/2.551, allocations: 0 / 0.8592 GB, free: 147 MB / 0.6388 GB Notification: Performance of matching and sorting (n=520): time 0.03744/2.588, allocations: 13.08 MB / 0.872 GB, free: 139.1 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/2.588, allocations: 104.3 kB / 0.8721 GB, free: 139.1 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03783/2.626, allocations: 14.04 MB / 0.8858 GB, free: 131.3 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001976/2.628, allocations: 137.7 kB / 0.886 GB, free: 131.1 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.01144/2.64, allocations: 5.942 MB / 0.8918 GB, free: 125.6 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.004187/2.644, allocations: 1.837 MB / 0.8935 GB, free: 123.9 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/2.645, allocations: 140 kB / 0.8937 GB, free: 123.8 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.000654/2.646, allocations: 0.6 MB / 0.8943 GB, free: 123.1 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008894/2.655, allocations: 3.601 MB / 0.8978 GB, free: 119.5 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/2.666, allocations: 5.424 MB / 0.9031 GB, free: 113.5 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/2.677, allocations: 4.701 MB / 0.9077 GB, free: 108.8 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.752e-05/2.678, allocations: 8 kB / 0.9077 GB, free: 108.8 MB / 0.6388 GB Notification: Performance of matching and sorting (n=936) (initialization): time 0.03233/2.71, allocations: 11.15 MB / 0.9186 GB, free: 97.49 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.004068/2.714, allocations: 21.11 MB / 0.9392 GB, free: 75.33 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/2.714, allocations: 60 kB / 0.9392 GB, free: 75.27 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003559/2.718, allocations: 1.023 MB / 0.9402 GB, free: 74.19 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/2.728, allocations: 1.595 MB / 0.9418 GB, free: 72.59 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/2.759, allocations: 33.31 MB / 0.9743 GB, free: 36.62 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/2.777, allocations: 1.389 MB / 0.9757 GB, free: 35.22 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002623/2.78, allocations: 300 kB / 0.976 GB, free: 34.93 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/2.78, allocations: 8.766 kB / 0.976 GB, free: 34.92 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02996/2.81, allocations: 10.01 MB / 0.9858 GB, free: 24.81 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002439/2.81, allocations: 56.97 kB / 0.9858 GB, free: 24.75 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/2.813, allocations: 0.9928 MB / 0.9868 GB, free: 23.7 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/2.823, allocations: 1.588 MB / 0.9883 GB, free: 22.11 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03618/2.859, allocations: 33.62 MB / 1.021 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02048/2.88, allocations: 1.294 MB / 1.022 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/2.883, allocations: 287.9 kB / 1.023 GB, free: 248 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * 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 (846): * Single equations (assignments): 816 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02147/2.904, allocations: 5.431 MB / 1.028 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007625/2.912, allocations: 1.127 MB / 1.029 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0398/2.952, allocations: 8.767 MB / 1.038 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/2.952, allocations: 52 kB / 1.038 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-05/2.952, allocations: 9.781 kB / 1.038 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01821/2.97, allocations: 6.869 MB / 1.044 GB, free: 9.688 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6611/3.631, allocations: 47.77 MB / 1.091 GB, free: 229.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001391/3.631, allocations: 17.84 kB / 1.091 GB, free: 229.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008/3.639, allocations: 1.151 MB / 1.092 GB, free: 229.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003594/3.643, allocations: 0.9884 MB / 1.093 GB, free: 229.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001613/3.645, allocations: 178.8 kB / 1.093 GB, free: 229.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03244/3.677, allocations: 33.49 MB / 1.126 GB, free: 200.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.655e-05/3.677, allocations: 28.56 kB / 1.126 GB, free: 200.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03652/3.714, allocations: 19.49 MB / 1.145 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01386/3.728, allocations: 2.806 MB / 1.148 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00667/3.734, allocations: 147.7 kB / 1.148 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01591/3.75, allocations: 0.6957 MB / 1.149 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002019/3.752, allocations: 412.4 kB / 1.149 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001492/3.754, allocations: 228.8 kB / 1.149 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.03133/3.785, allocations: 10.59 MB / 1.16 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.092e-06/3.785, allocations: 0 / 1.16 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.03974/3.825, allocations: 6.28 MB / 1.166 GB, free: 177.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.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 (466): * Single equations (assignments): 440 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0375/3.863, allocations: 21.19 MB / 1.186 GB, free: 156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.03949/3.902, allocations: 18.61 MB / 1.205 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.014e-05/3.902, allocations: 4 kB / 1.205 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01246/3.915, allocations: 5.92 MB / 1.21 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05226/3.967, allocations: 7.288 MB / 1.218 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1282/4.095, allocations: 66.75 MB / 1.283 GB, free: 55.37 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02442/4.12, allocations: 9.602 MB / 1.292 GB, free: 45.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.03491/4.155, allocations: 6.728 MB / 1.299 GB, free: 39.14 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01693/4.172, allocations: 5.623 MB / 1.304 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of SimCode: time 1.593e-06/4.172, allocations: 0 / 1.304 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.787/5.959, allocations: 370.3 MB / 1.666 GB, free: 210.9 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/5.959, allocations: 276.7 kB / 1.666 GB, free: 210.5 MB / 0.7638 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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:1: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:3604:98: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1236] /* borHol.intHex[10].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1266] /* borHol.intHex[10].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:3632:113: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1286] /* borHol.intHex[10].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1266] /* borHol.intHex[10].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:4266:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1235] /* borHol.intHex[9].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1265] /* borHol.intHex[9].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:4294:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1285] /* borHol.intHex[9].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1265] /* borHol.intHex[9].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:4928:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1234] /* borHol.intHex[8].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1264] /* borHol.intHex[8].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:4956:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1284] /* borHol.intHex[8].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1264] /* borHol.intHex[8].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:5590:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1233] /* borHol.intHex[7].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1263] /* borHol.intHex[7].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:5618:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1283] /* borHol.intHex[7].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1263] /* borHol.intHex[7].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:6252:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1232] /* borHol.intHex[6].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1262] /* borHol.intHex[6].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:6280:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1282] /* borHol.intHex[6].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1262] /* borHol.intHex[6].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:6914:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1231] /* borHol.intHex[5].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1261] /* borHol.intHex[5].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:6942:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1281] /* borHol.intHex[5].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1261] /* borHol.intHex[5].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:7576:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1230] /* borHol.intHex[4].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1260] /* borHol.intHex[4].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:7604:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1280] /* borHol.intHex[4].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1260] /* borHol.intHex[4].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:8238:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1229] /* borHol.intHex[3].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1259] /* borHol.intHex[3].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:8266:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1279] /* borHol.intHex[3].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1259] /* borHol.intHex[3].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:8900:97: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1228] /* borHol.intHex[2].preDro1.k PARAM */ = (_OMC_LIT70?DIVISION_SIM(data->simulationInfo->realParameter[1258] /* borHol.intHex[2].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:8928:112: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[1278] /* borHol.intHex[2].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT70?(0.1) * (data->simulationInfo->realParameter[1258] /* borHol.intHex[2].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.c:9520:106: error: assigning to 'modelica_boolean' (aka 'signed char') from incompatible type 'const boolean_array' (aka 'const struct base_array_s') data->simulationInfo->booleanParameter[186] /* borHol.intHex[1].preDro1.computeFlowResistance PARAM */ = _OMC_LIT70; ^ ~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd_part0.o] Error 1