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.001367/0.001367, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001523/0.001523, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.473/1.473, 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.1671/0.1671, allocations: 24 MB / 337.2 MB, free: 10.85 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.002123/0.002123, allocations: 71.89 kB / 472.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4115, allocations: 59.89 MB / 0.5199 GB, free: 9.746 MB / 382.1 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.08871/0.5002, allocations: 36 MB / 0.5551 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02943/0.5296, allocations: 14.77 MB / 0.5695 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005014/0.5347, allocations: 71.62 kB / 0.5696 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.5401, allocations: 1.352 MB / 0.5709 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007244/0.5473, allocations: 1.633 MB / 0.5725 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.5575, allocations: 4.252 MB / 0.5767 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009827/0.5673, allocations: 5.034 MB / 0.5816 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.5696, allocations: 1.226 MB / 0.5828 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.5732, allocations: 2.048 MB / 0.5848 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.5778, allocations: 2.509 MB / 0.5872 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.579, allocations: 0.5273 MB / 0.5877 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/0.584, allocations: 1.729 MB / 0.5894 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.5856, allocations: 1.507 MB / 0.5909 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002975/0.5886, allocations: 2.199 MB / 0.593 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.6015, allocations: 8.266 MB / 0.6011 GB, free: 6.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6015, allocations: 4 kB / 0.6011 GB, free: 6.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.6015, allocations: 0 / 0.6011 GB, free: 6.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000233/0.6018, allocations: 0 / 0.6011 GB, free: 6.316 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.01348/0.6152, allocations: 6.003 MB / 0.607 GB, free: 252 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6153, allocations: 8.031 kB / 0.607 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.6181, allocations: 0.9998 MB / 0.608 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004199/0.6223, allocations: 2.14 MB / 0.6101 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007394/0.623, allocations: 0.6637 MB / 0.6107 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007464/0.6238, allocations: 0.4886 MB / 0.6112 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/0.6471, allocations: 14.47 MB / 0.6253 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.6472, allocations: 7.938 kB / 0.6253 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.6476, allocations: 208 kB / 0.6255 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007479/0.6483, allocations: 0.628 MB / 0.6261 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03183/0.6801, allocations: 23.33 MB / 0.6489 GB, free: 5.113 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.06013/0.7403, allocations: 27.15 MB / 0.6754 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009663/0.7499, allocations: 5.55 MB / 0.6808 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006854/0.7568, allocations: 4.253 MB / 0.685 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03287/0.7897, allocations: 15.05 MB / 0.6997 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/0.7897, allocations: 52.56 kB / 0.6997 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=214): time 4.188e-06/0.7897, allocations: 0 / 0.6997 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=273): time 0.4364/1.226, allocations: 41.5 MB / 0.7403 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01705/1.243, allocations: 8.222 MB / 0.7483 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/1.248, allocations: 2.27 MB / 0.7505 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00127/1.249, allocations: 66.64 kB / 0.7506 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.251, allocations: 2.641 MB / 0.7532 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001722/1.253, allocations: 0.9723 MB / 0.7541 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003563/1.257, allocations: 0.8973 MB / 0.755 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.994e-05/1.257, allocations: 309.9 kB / 0.7553 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/1.267, allocations: 5.809 MB / 0.761 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009637/1.276, allocations: 6.825 MB / 0.7676 GB, free: 160.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.2885/1.565, allocations: 62.85 MB / 0.829 GB, free: 104 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.498e-05/1.565, allocations: 8 kB / 0.829 GB, free: 104 MB / 0.5606 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02442/1.589, allocations: 14.66 MB / 0.8433 GB, free: 89.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/1.59, allocations: 22.53 kB / 0.8434 GB, free: 89.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005123/1.59, allocations: 243.9 kB / 0.8436 GB, free: 89.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01554/1.606, allocations: 3.796 MB / 0.8473 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009594/1.615, allocations: 1.414 MB / 0.8487 GB, free: 83.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.63, allocations: 10.89 MB / 0.8593 GB, free: 72.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/1.636, allocations: 300.8 kB / 0.8596 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.637, allocations: 453.9 kB / 0.86 GB, free: 72.06 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: 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.00426/1.641, allocations: 1.457 MB / 0.8615 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.643, allocations: 345.9 kB / 0.8618 GB, free: 70.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02565/1.669, allocations: 14.72 MB / 0.8762 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.011e-05/1.669, allocations: 37.88 kB / 0.8762 GB, free: 55.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/1.669, allocations: 4 kB / 0.8762 GB, free: 55.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.878e-05/1.669, allocations: 12.73 kB / 0.8762 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03814/1.707, allocations: 18.45 MB / 0.8942 GB, free: 36.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/1.707, allocations: 12 kB / 0.8942 GB, free: 36.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006094/1.713, allocations: 0.845 MB / 0.8951 GB, free: 36.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0159/1.729, allocations: 3.864 MB / 0.8988 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006914/1.73, allocations: 123.4 kB / 0.899 GB, free: 32.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/1.744, allocations: 11.24 MB / 0.9099 GB, free: 20.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007805/1.752, allocations: 4.989 MB / 0.9148 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/1.776, allocations: 15.2 MB / 0.9296 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.777, allocations: 289.8 kB / 0.9299 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/1.778, allocations: 48 kB / 0.93 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/1.781, allocations: 107.9 kB / 0.9301 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009602/1.782, allocations: 257.1 kB / 0.9303 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006767/1.782, allocations: 222.7 kB / 0.9305 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003782/1.786, allocations: 2.1 MB / 0.9326 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.786, allocations: 0 / 0.9326 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006062/1.792, allocations: 1.468 MB / 0.934 GB, free: 11.59 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 (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.001721/1.794, allocations: 0.5056 MB / 0.9345 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02191/1.816, allocations: 10.94 MB / 0.9452 GB, free: 160 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.816, allocations: 0 / 0.9452 GB, free: 160 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009125/1.825, allocations: 4.518 MB / 0.9496 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/1.829, allocations: 0.5937 MB / 0.9502 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2664/2.096, allocations: 12.75 MB / 0.9626 GB, free: 199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009085/2.105, allocations: 2.734 MB / 0.9653 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004178/2.109, allocations: 430.6 kB / 0.9657 GB, free: 198.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.233e-06/2.109, allocations: 2.625 kB / 0.9657 GB, free: 198.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1896/2.299, allocations: 204 MB / 1.165 GB, free: 20.41 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:252:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.data_ = tmp670.data_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219: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_.data_ = tmp670.data_; ~~~~~~~^~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:253:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_ = tmp670.SelfClustering_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219: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_ = tmp670.SelfClustering_; ~~~~~~~^~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:254:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_dH_ = tmp670.SelfClustering_dH_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219: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_dH_ = tmp670.SelfClustering_dH_; ~~~~~~~^~~~~~~~~~~~~~~~~~~ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:255:5: error: use of undeclared identifier 'result_'; did you mean 'result_z_'? result_.SelfClustering_dS_ = tmp670.SelfClustering_dS_; ^~~~~~~ result_z_ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:219:10: note: 'result_z_' declared here double result_z_; ^ ./OMCppChemical_master_Chemical.Examples.WaterElectrolysisFunctions.cpp:255:12: error: member reference base type 'double' is not a structure or union 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' _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:573: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:649: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:725: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:1072: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:1148: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:1224: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:1300: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:5493: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>(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') _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') _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: 6.430297066923231] Failed to read output from testmodel.py, exit status != 0: 2.3093053409829736 2.320284007 1.716179457 Calling exit ...