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.001452/0.001452, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001969/0.001969, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.1592/0.1592, allocations: 23.9 MB / 337.1 MB, free: 11.17 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.002405/0.002405, allocations: 75.83 kB / 472.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4375, allocations: 59.87 MB / 0.5199 GB, free: 9.84 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.06077/0.4983, allocations: 38.35 MB / 0.5573 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03115/0.5294, allocations: 16.64 MB / 0.5736 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007009/0.5364, allocations: 71.62 kB / 0.5736 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005946/0.5424, allocations: 1.417 MB / 0.575 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008486/0.5508, allocations: 1.598 MB / 0.5766 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.5615, allocations: 4.625 MB / 0.5811 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.5732, allocations: 4.934 MB / 0.5859 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.5758, allocations: 1.248 MB / 0.5871 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.5797, allocations: 2.017 MB / 0.5891 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00544/0.5852, allocations: 2.74 MB / 0.5918 GB, free: 244 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.5871, allocations: 0.5157 MB / 0.5923 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008225/0.5953, allocations: 2.271 MB / 0.5945 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002962/0.5983, allocations: 1.483 MB / 0.596 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005991/0.6043, allocations: 2.829 MB / 0.5987 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01803/0.6223, allocations: 8.255 MB / 0.6068 GB, free: 0.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6223, allocations: 3.938 kB / 0.6068 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6223, allocations: 0 / 0.6068 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002631/0.6226, allocations: 4 kB / 0.6068 GB, free: 0.8242 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.01474/0.6373, allocations: 5.929 MB / 0.6126 GB, free: 10.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6374, allocations: 12.03 kB / 0.6126 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.6395, allocations: 0.8949 MB / 0.6135 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.6437, allocations: 2.105 MB / 0.6155 GB, free: 7.746 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006463/0.6444, allocations: 0.6557 MB / 0.6162 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007359/0.6451, allocations: 496.2 kB / 0.6166 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.6664, allocations: 13.98 MB / 0.6303 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.589e-05/0.6665, allocations: 4 kB / 0.6303 GB, free: 8.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/0.6669, allocations: 200 kB / 0.6305 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007436/0.6676, allocations: 0.6201 MB / 0.6311 GB, free: 7.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/0.6983, allocations: 22.18 MB / 0.6527 GB, free: 1.5 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.05959/0.7579, allocations: 30.38 MB / 0.6824 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009193/0.7671, allocations: 5.373 MB / 0.6877 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006213/0.7733, allocations: 4.043 MB / 0.6916 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03074/0.8041, allocations: 16.12 MB / 0.7074 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.8041, allocations: 48.56 kB / 0.7074 GB, free: 9.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=212): time 4.148e-06/0.8041, allocations: 0 / 0.7074 GB, free: 9.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=271): time 0.4649/1.269, allocations: 40.71 MB / 0.7472 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01653/1.286, allocations: 8.367 MB / 0.7553 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009292/1.295, allocations: 5.08 MB / 0.7603 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/1.296, allocations: 66.11 kB / 0.7604 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002181/1.298, allocations: 2.556 MB / 0.7628 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.3, allocations: 0.9526 MB / 0.7638 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/1.302, allocations: 0.8728 MB / 0.7646 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/1.302, allocations: 301.1 kB / 0.7649 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006805/1.309, allocations: 5.62 MB / 0.7704 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/1.316, allocations: 6.587 MB / 0.7768 GB, free: 155.6 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.2386/1.555, allocations: 60.21 MB / 0.8356 GB, free: 97.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.934e-05/1.555, allocations: 8 kB / 0.8356 GB, free: 97.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.02321/1.578, allocations: 14.41 MB / 0.8497 GB, free: 83.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/1.578, allocations: 16 kB / 0.8497 GB, free: 83.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005042/1.579, allocations: 243.9 kB / 0.85 GB, free: 82.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0146/1.593, allocations: 3.804 MB / 0.8537 GB, free: 79.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008537/1.602, allocations: 1.233 MB / 0.8549 GB, free: 77.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/1.618, allocations: 11.07 MB / 0.8657 GB, free: 66.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/1.624, allocations: 276.9 kB / 0.866 GB, free: 66.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/1.626, allocations: 435.8 kB / 0.8664 GB, free: 65.91 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.004963/1.631, allocations: 1.445 MB / 0.8678 GB, free: 64.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/1.633, allocations: 0.4891 MB / 0.8683 GB, free: 63.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02474/1.658, allocations: 14.42 MB / 0.8823 GB, free: 49.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-05/1.658, allocations: 30.89 kB / 0.8824 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/1.658, allocations: 11.92 kB / 0.8824 GB, free: 49.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.658, allocations: 11.95 kB / 0.8824 GB, free: 49.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03369/1.692, allocations: 18.89 MB / 0.9008 GB, free: 30.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/1.692, allocations: 15.98 kB / 0.9009 GB, free: 30.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005131/1.697, allocations: 0.6753 MB / 0.9015 GB, free: 29.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01558/1.712, allocations: 3.848 MB / 0.9053 GB, free: 26.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007865/1.713, allocations: 127 kB / 0.9054 GB, free: 25.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/1.728, allocations: 11.49 MB / 0.9166 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01024/1.738, allocations: 5.002 MB / 0.9215 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02474/1.763, allocations: 14.65 MB / 0.9358 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002483/1.766, allocations: 0.6158 MB / 0.9364 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/1.767, allocations: 54.34 kB / 0.9365 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.77, allocations: 83.92 kB / 0.9365 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007453/1.77, allocations: 249.4 kB / 0.9368 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004143/1.771, allocations: 207.9 kB / 0.937 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007689/1.778, allocations: 4.122 MB / 0.941 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.778, allocations: 4 kB / 0.941 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006782/1.785, allocations: 1.471 MB / 0.9424 GB, free: 3.348 MB / 0.5762 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,77.8%), (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.001606/1.787, allocations: 0.5199 MB / 0.943 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02047/1.807, allocations: 10.51 MB / 0.9532 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.807, allocations: 0 / 0.9532 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009579/1.817, allocations: 4.313 MB / 0.9574 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005801/1.823, allocations: 0.9798 MB / 0.9584 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3367/2.159, allocations: 12.83 MB / 0.9709 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/2.164, allocations: 3.193 MB / 0.974 GB, free: 198 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/2.167, allocations: 497.6 kB / 0.9745 GB, free: 198 MB / 0.5919 GB Notification: Performance of SimCode: time 1.582e-06/2.167, allocations: 0 / 0.9745 GB, free: 198 MB / 0.5919 GB Notification: Performance of Templates: time 0.199/2.366, allocations: 211.1 MB / 1.181 GB, free: 7.465 MB / 0.5919 GB " [Timeout remaining time 657] 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -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:285:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.data_ = tmp768.data_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:252:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:285:12: error: member reference base type 'double' is not a structure or union result_.data_ = tmp768.data_; ~~~~~~~^~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:286:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_ = tmp768.SelfClustering_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:252:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:286:12: error: member reference base type 'double' is not a structure or union result_.SelfClustering_ = tmp768.SelfClustering_; ~~~~~~~^~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:287:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_dH_ = tmp768.SelfClustering_dH_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:252:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:287:12: error: member reference base type 'double' is not a structure or union result_.SelfClustering_dH_ = tmp768.SelfClustering_dH_; ~~~~~~~^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:288:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_dS_ = tmp768.SelfClustering_dS_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:252:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:288:12: error: member reference base type 'double' is not a structure or union result_.SelfClustering_dS_ = tmp768.SelfClustering_dS_; ~~~~~~~^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:530: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:606: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:682: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:758: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:1105: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:1181: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:1257: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:1333: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:5365: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>(tmp415.data); ^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisInitialize.cpp:5366: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>(tmp415.data); ^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisInitialize.cpp:5367: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>(tmp415.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: 7.034840323991375] Failed to read output from testmodel.py, exit status != 0: 2.6911313839955255 2.705156766 2.079369675 Calling exit ...