Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterElectrolysis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 104.3 kB / 19.7 MB, free: 2.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 214.9 kB / 22.99 MB, free: 4.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1412/0.1412, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis") translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.91 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 59.88 MB / 0.5198 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterElectrolysis): time 0.08579/0.4418, allocations: 35.58 MB / 0.5546 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03563/0.4774, allocations: 14.49 MB / 0.5687 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005584/0.483, allocations: 67.62 kB / 0.5688 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005695/0.4887, allocations: 1.333 MB / 0.5701 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008278/0.497, allocations: 1.606 MB / 0.5716 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009932/0.5069, allocations: 4.186 MB / 0.5757 GB, free: 492 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009742/0.5166, allocations: 4.943 MB / 0.5806 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.519, allocations: 1.252 MB / 0.5818 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.5227, allocations: 2.009 MB / 0.5837 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00522/0.5279, allocations: 2.74 MB / 0.5864 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.5294, allocations: 0.5156 MB / 0.5869 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.5341, allocations: 1.701 MB / 0.5886 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.5358, allocations: 1.483 MB / 0.59 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003429/0.5392, allocations: 2.157 MB / 0.5921 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.5528, allocations: 8.13 MB / 0.6001 GB, free: 7.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.5529, allocations: 0 / 0.6001 GB, free: 7.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.5529, allocations: 0 / 0.6001 GB, free: 7.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003049/0.5532, allocations: 0 / 0.6001 GB, free: 7.398 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.01781/0.571, allocations: 5.929 MB / 0.6059 GB, free: 1.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.571, allocations: 8.031 kB / 0.6059 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/0.5747, allocations: 0.9964 MB / 0.6069 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004969/0.5796, allocations: 2.108 MB / 0.6089 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007382/0.5804, allocations: 0.6518 MB / 0.6095 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.5815, allocations: 0.4925 MB / 0.61 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/0.6019, allocations: 14.02 MB / 0.6237 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.592e-05/0.602, allocations: 0 / 0.6237 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/0.6024, allocations: 200 kB / 0.6239 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007094/0.6031, allocations: 0.6356 MB / 0.6245 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0284/0.6315, allocations: 22.18 MB / 0.6462 GB, free: 7.914 MB / 494.1 MB 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.0533/0.6848, allocations: 26.29 MB / 0.6719 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008214/0.693, allocations: 5.397 MB / 0.6771 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006012/0.699, allocations: 4.082 MB / 0.6811 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02813/0.7271, allocations: 14.48 MB / 0.6953 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.7272, allocations: 56.5 kB / 0.6953 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.309e-06/0.7272, allocations: 0 / 0.6953 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=271): time 0.4002/1.127, allocations: 40.72 MB / 0.7351 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01749/1.145, allocations: 8.223 MB / 0.7431 GB, free: 172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/1.148, allocations: 2.242 MB / 0.7453 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.149, allocations: 66.67 kB / 0.7454 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.151, allocations: 2.6 MB / 0.7479 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.153, allocations: 0.9546 MB / 0.7488 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/1.155, allocations: 0.88 MB / 0.7497 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/1.155, allocations: 311.4 kB / 0.75 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007342/1.162, allocations: 5.649 MB / 0.7555 GB, free: 167 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008029/1.17, allocations: 6.629 MB / 0.762 GB, free: 163.7 MB / 0.5606 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: electrone.state_out.u = 96485.33212331001 * electrone.definition.data.z * electrone.v_start (0.0 = 96485.33212331001 * electrone.definition.data.z * electrone.v_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.2862/1.456, allocations: 59.62 MB / 0.8202 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.504e-05/1.456, allocations: 12 kB / 0.8202 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.02381/1.48, allocations: 14.31 MB / 0.8342 GB, free: 98.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/1.48, allocations: 22.66 kB / 0.8342 GB, free: 98.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005378/1.481, allocations: 235.9 kB / 0.8344 GB, free: 98.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/1.498, allocations: 3.808 MB / 0.8382 GB, free: 94.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009275/1.507, allocations: 1.247 MB / 0.8394 GB, free: 93.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/1.524, allocations: 10.9 MB / 0.85 GB, free: 81.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005495/1.53, allocations: 282.2 kB / 0.8503 GB, free: 81.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.531, allocations: 439.8 kB / 0.8507 GB, free: 81.22 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: electrone.state_out.u = 96485.33212331001 * electrone.definition.data.z * electrone.v_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 4 (reaction.processDefinition.data.phase,reaction.processDefinition.SelfClustering,liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (335): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,88.9%), (1,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00358/1.534, allocations: 1.439 MB / 0.8521 GB, free: 79.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.536, allocations: 342 kB / 0.8524 GB, free: 79.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02568/1.562, allocations: 14.32 MB / 0.8664 GB, free: 65.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.049e-05/1.562, allocations: 29.41 kB / 0.8665 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/1.562, allocations: 7.984 kB / 0.8665 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-05/1.562, allocations: 11.95 kB / 0.8665 GB, free: 65.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03317/1.595, allocations: 17.97 MB / 0.884 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/1.595, allocations: 8 kB / 0.884 GB, free: 47.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00562/1.6, allocations: 0.693 MB / 0.8847 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01697/1.617, allocations: 3.858 MB / 0.8885 GB, free: 42.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007012/1.618, allocations: 111.9 kB / 0.8886 GB, free: 42.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/1.634, allocations: 11.26 MB / 0.8996 GB, free: 30.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01173/1.645, allocations: 4.844 MB / 0.9043 GB, free: 25.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/1.668, allocations: 14.59 MB / 0.9186 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/1.669, allocations: 278.5 kB / 0.9188 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007399/1.67, allocations: 53.97 kB / 0.9189 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.672, allocations: 100.4 kB / 0.919 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005901/1.672, allocations: 247.2 kB / 0.9192 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003271/1.673, allocations: 207.9 kB / 0.9194 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002177/1.675, allocations: 2.083 MB / 0.9214 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.675, allocations: 0 / 0.9214 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004372/1.679, allocations: 1.428 MB / 0.9228 GB, free: 6.773 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 7 ($STATESET1.x,O2_gas.logn,H2_gas.logn,reaction.rr,anode.temperature,cathode.temperature,liquidWater.logm) * Number of discrete variables: 5 ($cse15.data.phase,$cse15.SelfClustering,$cse16.data.phase,$cse16.SelfClustering,reaction.processDefinition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,88.9%), (1,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,22), (5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/1.68, allocations: 0.5039 MB / 0.9233 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01728/1.697, allocations: 10.59 MB / 0.9337 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.697, allocations: 0 / 0.9337 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009143/1.707, allocations: 4.359 MB / 0.9379 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/1.71, allocations: 0.5916 MB / 0.9385 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/1.734, allocations: 12.45 MB / 0.9507 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00366/1.738, allocations: 2.712 MB / 0.9533 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002701/1.74, allocations: 411.2 kB / 0.9537 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.74, allocations: 3.938 kB / 0.9537 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of Templates: time 0.4774/2.218, allocations: 201 MB / 1.15 GB, free: 31.33 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Examples.WaterElectrolysis.makefile [Timeout 660] make -j1 -f Chemical_master_Chemical.Examples.WaterElectrolysis.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.o OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:251:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.data_ = tmp658.data_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:218:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:251:12: error: member reference base type 'double' is not a structure or union result_.data_ = tmp658.data_; ~~~~~~~^~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:252:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_ = tmp658.SelfClustering_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:218:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:252:12: error: member reference base type 'double' is not a structure or union result_.SelfClustering_ = tmp658.SelfClustering_; ~~~~~~~^~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:253:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_dH_ = tmp658.SelfClustering_dH_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:218:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:253:12: error: member reference base type 'double' is not a structure or union result_.SelfClustering_dH_ = tmp658.SelfClustering_dH_; ~~~~~~~^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:254:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_dS_ = tmp658.SelfClustering_dS_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:218:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:254:12: error: member reference base type 'double' is not a structure or union result_.SelfClustering_dS_ = tmp658.SelfClustering_dS_; ~~~~~~~^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:496:47: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar10_ = (n_(i_) * d_(i_).data_.alow_(i_,j_)); ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:572:47: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar12_ = (n_(i_) * d_(i_).data_.blow_(i_,j_)); ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:648:47: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar14_ = (n_(i_) * d_(i_).data_.ahigh_(i_,j_)); ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:724:47: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar16_ = (n_(i_) * d_(i_).data_.bhigh_(i_,j_)); ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:1071:46: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar2_ = (n_(i_) * d_(i_).data_.alow_(i_,j_)); ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:1147:46: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar4_ = (n_(i_) * d_(i_).data_.blow_(i_,j_)); ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:1223:46: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar6_ = (n_(i_) * d_(i_).data_.ahigh_(i_,j_)); ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:28: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:1299:46: error: no matching function for call to object of type 'const StatArrayDim1' _omcQ_24tmpVar8_ = (n_(i_) * d_(i_).data_.bhigh_(i_,j_)); ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.cpp:29: ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisInitialize.cpp:5371:53: error: assigning to 'double' from incompatible type '__tuple_element_t<3UL, tuple, StatArrayDim1, StatArrayDim1, StatArrayDim1, double, int, double, double>>' (aka 'StatArrayDim1') _reaction_P_processDefinition_P_data_P_alow_(7) = get<3>(tmp416.data); ^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisInitialize.cpp:5372:53: error: assigning to 'double' from incompatible type '__tuple_element_t<4UL, tuple, StatArrayDim1, StatArrayDim1, StatArrayDim1, double, int, double, double>>' (aka 'StatArrayDim1') _reaction_P_processDefinition_P_data_P_alow_(6) = get<4>(tmp416.data); ^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisInitialize.cpp:5373:53: error: assigning to 'double' from incompatible type '__tuple_element_t<5UL, tuple, StatArrayDim1, StatArrayDim1, StatArrayDim1, double, int, double, double>>' (aka 'StatArrayDim1') _reaction_P_processDefinition_P_data_P_alow_(5) = get<5>(tmp416.data); ^~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppChemical_master_Chemical.Examples.WaterElectrolysisCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.439748465985758] Failed to read output from testmodel.py, exit status != 0: 2.2277311109937727 2.236629155 1.681360573 Calling exit ...