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.0008267/0.0008267, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007779/0.0007779, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8564/0.8564, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.08659/0.08659, allocations: 17.44 MB / 277.4 MB, free: 11.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.416e-05, allocations: 2.281 kB / 412.9 MB, free: 15.77 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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:1343:7-1343: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:1361:7-1361: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:1361:7-1361: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.2828/0.2828, allocations: 36.73 MB / 449.6 MB, free: 42.31 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.297, allocations: 16.42 MB / 466 MB, free: 36.78 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.2996, allocations: 99.38 kB / 466.1 MB, free: 36.73 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.3025, allocations: 1.466 MB / 467.6 MB, free: 36.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.3063, allocations: 2.029 MB / 469.6 MB, free: 34.68 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005453/0.3118, allocations: 4.992 MB / 474.6 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.005344/0.3171, allocations: 5.58 MB / 480.2 MB, free: 28.83 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.3184, allocations: 1.234 MB / 481.4 MB, free: 28.22 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.3214, allocations: 3.216 MB / 484.6 MB, free: 26.8 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.3232, allocations: 2.367 MB / 487 MB, free: 26 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.3237, allocations: 0.532 MB / 487.5 MB, free: 25.99 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.3273, allocations: 2.06 MB / 489.6 MB, free: 25.57 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0008293/0.3281, allocations: 1.669 MB / 491.3 MB, free: 24.59 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.3301, allocations: 1.868 MB / 493.1 MB, free: 23.73 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.3409, allocations: 8.615 MB / 0.49 GB, free: 19.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3409, allocations: 1.062 kB / 0.49 GB, free: 19.93 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3409, allocations: 0 / 0.49 GB, free: 19.93 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002301/0.3411, allocations: 0 / 0.49 GB, free: 19.93 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.01031/0.3514, allocations: 6.105 MB / 0.4959 GB, free: 16.45 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3515, allocations: 13.78 kB / 0.496 GB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.3535, allocations: 1.048 MB / 0.497 GB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.3569, allocations: 2.661 MB / 0.4996 GB, free: 14.32 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/0.3572, allocations: 0.6626 MB / 0.5002 GB, free: 13.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004685/0.3577, allocations: 0.5009 MB / 0.5007 GB, free: 13.65 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.3692, allocations: 14.47 MB / 0.5148 GB, free: 6.477 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-05/0.3692, allocations: 192 / 0.5148 GB, free: 6.477 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.3695, allocations: 210.2 kB / 0.515 GB, free: 6.312 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003181/0.3698, allocations: 0.6335 MB / 0.5157 GB, free: 6.105 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.3854, allocations: 23.32 MB / 0.5384 GB, free: 4.484 MB / 426.8 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.03483/0.4202, allocations: 27.17 MB / 0.565 GB, free: 9.16 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/0.4262, allocations: 5.558 MB / 0.5704 GB, free: 3.598 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/0.43, allocations: 4.249 MB / 0.5745 GB, free: 15.34 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/0.4477, allocations: 15.03 MB / 0.5892 GB, free: 276 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.4478, allocations: 56.56 kB / 0.5893 GB, free: 212 kB / 474.8 MB Notification: Performance of pre-optimization done (n=214): time 4.117e-06/0.4478, allocations: 0 / 0.5893 GB, free: 212 kB / 474.8 MB Notification: Performance of matching and sorting (n=273): time 0.2374/0.6852, allocations: 41.02 MB / 0.6293 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007929/0.6931, allocations: 8.24 MB / 0.6374 GB, free: 149 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.6954, allocations: 2.27 MB / 0.6396 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008149/0.6963, allocations: 66.98 kB / 0.6397 GB, free: 148 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008858/0.6971, allocations: 2.638 MB / 0.6422 GB, free: 146 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.000769/0.6979, allocations: 0.9555 MB / 0.6432 GB, free: 145.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.6993, allocations: 0.8985 MB / 0.644 GB, free: 145 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.078e-05/0.6993, allocations: 308.2 kB / 0.6443 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004568/0.7039, allocations: 5.814 MB / 0.65 GB, free: 142.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005334/0.7092, allocations: 6.812 MB / 0.6567 GB, free: 139.5 MB / 0.4949 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.1337/0.8429, allocations: 63.11 MB / 0.7183 GB, free: 88.98 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.043e-05/0.8429, allocations: 12 kB / 0.7183 GB, free: 88.97 MB / 0.4949 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01424/0.8572, allocations: 14.7 MB / 0.7327 GB, free: 74.29 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.8572, allocations: 20 kB / 0.7327 GB, free: 74.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002733/0.8575, allocations: 239.9 kB / 0.7329 GB, free: 74.04 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007886/0.8654, allocations: 3.833 MB / 0.7367 GB, free: 70.24 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004833/0.8702, allocations: 1.413 MB / 0.738 GB, free: 68.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008877/0.8791, allocations: 10.87 MB / 0.7487 GB, free: 57.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.8822, allocations: 298.2 kB / 0.7489 GB, free: 57.41 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005848/0.8828, allocations: 447.8 kB / 0.7494 GB, free: 56.97 MB / 0.4949 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: 145 * 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 (343): * Single equations (assignments): 338 * 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,77.8%), (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.002906/0.8857, allocations: 1.452 MB / 0.7508 GB, free: 55.51 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009405/0.8867, allocations: 376 kB / 0.7511 GB, free: 55.14 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.9012, allocations: 14.74 MB / 0.7655 GB, free: 40.41 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.9012, allocations: 29.97 kB / 0.7656 GB, free: 40.38 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.9013, allocations: 11.92 kB / 0.7656 GB, free: 40.37 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.9013, allocations: 11.95 kB / 0.7656 GB, free: 40.36 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/0.9211, allocations: 18.45 MB / 0.7836 GB, free: 21.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.9211, allocations: 8 kB / 0.7836 GB, free: 21.82 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/0.9238, allocations: 0.8464 MB / 0.7844 GB, free: 21 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007822/0.9316, allocations: 3.889 MB / 0.7882 GB, free: 17.13 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/0.9319, allocations: 119.9 kB / 0.7884 GB, free: 17.01 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008612/0.9405, allocations: 11.24 MB / 0.7993 GB, free: 5.477 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004111/0.9447, allocations: 4.988 MB / 0.8042 GB, free: 280 kB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/0.9618, allocations: 15.21 MB / 0.819 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.9626, allocations: 281.7 kB / 0.8193 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/0.9629, allocations: 55.92 kB / 0.8194 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/0.9639, allocations: 103.9 kB / 0.8195 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004616/0.9643, allocations: 257.5 kB / 0.8197 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/0.9646, allocations: 227.9 kB / 0.8199 GB, free: 32 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.1709/1.136, allocations: 2.093 MB / 0.822 GB, free: 163 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/1.136, allocations: 0 / 0.822 GB, free: 163 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005311/1.141, allocations: 1.519 MB / 0.8235 GB, free: 163 MB / 0.5105 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 (191): * Single equations (assignments): 184 * 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.001235/1.142, allocations: 0.5298 MB / 0.824 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.153, allocations: 10.93 MB / 0.8347 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.153, allocations: 3.344 kB / 0.8347 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004634/1.158, allocations: 4.513 MB / 0.8391 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.16, allocations: 0.5969 MB / 0.8396 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.177, allocations: 12.61 MB / 0.852 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.18, allocations: 2.73 MB / 0.8546 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/1.182, allocations: 452.5 kB / 0.8551 GB, free: 152 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/1.182, allocations: 0 / 0.8551 GB, free: 152 MB / 0.5105 GB Notification: Performance of Templates: time 0.3047/1.487, allocations: 206.7 MB / 1.057 GB, free: 147.2 MB / 0.5105 GB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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:252:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? 252 | result_.data_ = tmp670.data_; | ^~~~~~~ | result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219:10: note: 'result_z_' declared here 219 | double result_z_; | ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:252:12: error: member reference base type 'double' is not a structure or union 252 | result_.data_ = tmp670.data_; | ~~~~~~~^~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:253:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? 253 | result_.SelfClustering_ = tmp670.SelfClustering_; | ^~~~~~~ | result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219:10: note: 'result_z_' declared here 219 | double result_z_; | ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:253:12: error: member reference base type 'double' is not a structure or union 253 | result_.SelfClustering_ = tmp670.SelfClustering_; | ~~~~~~~^~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:254:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? 254 | result_.SelfClustering_dH_ = tmp670.SelfClustering_dH_; | ^~~~~~~ | result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219:10: note: 'result_z_' declared here 219 | double result_z_; | ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:254:12: error: member reference base type 'double' is not a structure or union 254 | result_.SelfClustering_dH_ = tmp670.SelfClustering_dH_; | ~~~~~~~^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:255:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? 255 | result_.SelfClustering_dS_ = tmp670.SelfClustering_dS_; | ^~~~~~~ | result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219:10: note: 'result_z_' declared here 219 | double result_z_; | ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:255:12: error: member reference base type 'double' is not a structure or union 255 | result_.SelfClustering_dS_ = tmp670.SelfClustering_dS_; | ~~~~~~~^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:497:47: error: no matching function for call to object of type 'const StatArrayDim1' 497 | _omcQ_24tmpVar10_ = (n_(i_) * d_(i_).data_.alow_(i_,j_)); | ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:573:47: error: no matching function for call to object of type 'const StatArrayDim1' 573 | _omcQ_24tmpVar12_ = (n_(i_) * d_(i_).data_.blow_(i_,j_)); | ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:649:47: error: no matching function for call to object of type 'const StatArrayDim1' 649 | _omcQ_24tmpVar14_ = (n_(i_) * d_(i_).data_.ahigh_(i_,j_)); | ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:725:47: error: no matching function for call to object of type 'const StatArrayDim1' 725 | _omcQ_24tmpVar16_ = (n_(i_) * d_(i_).data_.bhigh_(i_,j_)); | ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:1072:46: error: no matching function for call to object of type 'const StatArrayDim1' 1072 | _omcQ_24tmpVar2_ = (n_(i_) * d_(i_).data_.alow_(i_,j_)); | ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:1148:46: error: no matching function for call to object of type 'const StatArrayDim1' 1148 | _omcQ_24tmpVar4_ = (n_(i_) * d_(i_).data_.blow_(i_,j_)); | ^~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:1224:46: error: no matching function for call to object of type 'const StatArrayDim1' 1224 | _omcQ_24tmpVar6_ = (n_(i_) * d_(i_).data_.ahigh_(i_,j_)); | ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:1300:46: error: no matching function for call to object of type 'const StatArrayDim1' 1300 | _omcQ_24tmpVar8_ = (n_(i_) * d_(i_).data_.bhigh_(i_,j_)); | ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1144 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1153:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided 1153 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1162:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1162 | inline virtual T& operator()(size_t index) | ^ ~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1171:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided 1171 | 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:5493:53: error: assigning to 'double' from incompatible type '__tuple_element_t<3UL, tuple, StatArrayDim1, StatArrayDim1, StatArrayDim1, double, int, double, double>>' (aka 'StatArrayDim1') 5493 | _reaction_P_processDefinition_P_data_P_alow_(7) = get<3>(tmp428.data); | ^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisInitialize.cpp:5494:53: error: assigning to 'double' from incompatible type '__tuple_element_t<4UL, tuple, StatArrayDim1, StatArrayDim1, StatArrayDim1, double, int, double, double>>' (aka 'StatArrayDim1') 5494 | _reaction_P_processDefinition_P_data_P_alow_(6) = get<4>(tmp428.data); | ^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisInitialize.cpp:5495:53: error: assigning to 'double' from incompatible type '__tuple_element_t<5UL, tuple, StatArrayDim1, StatArrayDim1, StatArrayDim1, double, int, double, double>>' (aka 'StatArrayDim1') 5495 | _reaction_P_processDefinition_P_data_P_alow_(5) = get<5>(tmp428.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: 3.996644174680114] Failed to read output from testmodel.py, exit status != 0: 1.4928934508934617 1.499625774 1.157244187 Calling exit ...