Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HydrogenCombustion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1464/0.1464, allocations: 15.26 MB / 30.2 MB, free: 3.309 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001603, allocations: 181.8 kB / 35.3 MB, free: 2.375 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 263.4 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 84.38 kB / 318.8 MB, free: 3.848 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 8.844 kB / 384 MB, free: 50.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08905, allocations: 54.64 MB / 438.7 MB, free: 364 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.4873, allocations: 137.8 MB / 0.5629 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4875, allocations: 74.97 kB / 0.563 GB, free: 10.33 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2_gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2_gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System O2_gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$O2_gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O_gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O_gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2_gas1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2_gas1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System O2_gas1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$O2_gas1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O_gas1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O_gas1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System idealGas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$idealGas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System idealGas1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$idealGas1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.1798/0.6674, allocations: 73.42 MB / 0.6347 GB, free: 1.242 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6674, allocations: 0 / 0.6347 GB, free: 1.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.475e-05/0.6675, allocations: 40 kB / 0.6347 GB, free: 1.203 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 492 * Number of variables: 492 Notification: Performance of Generate backend data structure: time 0.005643/0.6732, allocations: 2.605 MB / 0.6373 GB, free: 14.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.6732, allocations: 15.97 kB / 0.6373 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004372/0.6737, allocations: 270.5 kB / 0.6376 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.6787, allocations: 1.224 MB / 0.6388 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.6821, allocations: 1.317 MB / 0.64 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.6823, allocations: 199.3 kB / 0.6402 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004547/0.6828, allocations: 195.9 kB / 0.6404 GB, free: 11.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/0.6883, allocations: 3.218 MB / 0.6436 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.6884, allocations: 0 / 0.6436 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.6885, allocations: 80 kB / 0.6436 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.6886, allocations: 48 kB / 0.6437 GB, free: 7.871 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005651/0.6942, allocations: 4.302 MB / 0.6479 GB, free: 3.566 MB / 442.7 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.01569/0.71, allocations: 10.47 MB / 0.6581 GB, free: 8.688 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00561/0.7156, allocations: 3.793 MB / 0.6618 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.7162, allocations: 362 kB / 0.6622 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/0.7163, allocations: 56.5 kB / 0.6622 GB, free: 4.352 MB / 458.7 MB Notification: Performance of pre-optimization done (n=191): time 4.078e-06/0.7163, allocations: 4 kB / 0.6622 GB, free: 4.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=248): time 0.03231/0.7486, allocations: 14.83 MB / 0.6767 GB, free: 5.348 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.7487, allocations: 103.4 kB / 0.6768 GB, free: 5.227 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.7503, allocations: 1.041 MB / 0.6778 GB, free: 4.176 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.7507, allocations: 65.7 kB / 0.6779 GB, free: 4.105 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006645/0.7514, allocations: 0.8463 MB / 0.6787 GB, free: 3.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008906/0.7523, allocations: 0.8276 MB / 0.6795 GB, free: 2.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.7524, allocations: 44 kB / 0.6796 GB, free: 2.367 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.7526, allocations: 394.3 kB / 0.6799 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/0.7551, allocations: 1.738 MB / 0.6816 GB, free: 240 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2488/1.004, allocations: 2.021 MB / 0.6836 GB, free: 100.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/1.006, allocations: 1.879 MB / 0.6854 GB, free: 100.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.006, allocations: 2.094 kB / 0.6854 GB, free: 100.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.008649/1.015, allocations: 5.053 MB / 0.6904 GB, free: 100.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/1.015, allocations: 6.656 kB / 0.6904 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.015, allocations: 12.98 kB / 0.6904 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/1.02, allocations: 1.361 MB / 0.6917 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/1.023, allocations: 461.9 kB / 0.6922 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.035, allocations: 10.79 MB / 0.7027 GB, free: 94.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.037, allocations: 109.5 kB / 0.7028 GB, free: 94.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/1.038, allocations: 104.8 kB / 0.7029 GB, free: 94.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 6,(1,100.0%) 11} * Non-linear torn systems: 3 {2 24,1 6,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.039, allocations: 450.6 kB / 0.7033 GB, free: 93.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004063/1.039, allocations: 196.9 kB / 0.7035 GB, free: 93.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.049, allocations: 5.402 MB / 0.7088 GB, free: 93.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.05, allocations: 30.03 kB / 0.7088 GB, free: 93.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/1.05, allocations: 3.906 kB / 0.7088 GB, free: 93.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-05/1.05, allocations: 11.06 kB / 0.7088 GB, free: 93.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/1.062, allocations: 9.93 MB / 0.7185 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.062, allocations: 3.625 kB / 0.7185 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/1.065, allocations: 469 kB / 0.719 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/1.069, allocations: 1.339 MB / 0.7203 GB, free: 92.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004046/1.07, allocations: 71.22 kB / 0.7204 GB, free: 92.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008752/1.079, allocations: 10.53 MB / 0.7307 GB, free: 86.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.079, allocations: 6.312 kB / 0.7307 GB, free: 86.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.089, allocations: 8.293 MB / 0.7388 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/1.09, allocations: 261.6 kB / 0.739 GB, free: 82.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/1.09, allocations: 49.5 kB / 0.7391 GB, free: 82.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.091, allocations: 109.6 kB / 0.7392 GB, free: 82.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.092, allocations: 208.7 kB / 0.7394 GB, free: 82.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/1.092, allocations: 98.55 kB / 0.7394 GB, free: 82.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009698/1.093, allocations: 0.8152 MB / 0.7402 GB, free: 81.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.093, allocations: 0 / 0.7402 GB, free: 81.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003883/1.097, allocations: 1.035 MB / 0.7413 GB, free: 81.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (H2_gas1.molarEnthalpy,H2_gas1.logn,O2_gas1.logn,H2O_gas1.logn,H2_gas.logn,O2_gas.logn,H2O_gas.molarEnthalpy,H2O_gas.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 9,(1,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 3 {1 8,1 11,2 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/1.109, allocations: 11.05 MB / 0.7521 GB, free: 76.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006213/1.115, allocations: 4.797 MB / 0.7567 GB, free: 73.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.115, allocations: 0 / 0.7567 GB, free: 73.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003877/1.119, allocations: 2.887 MB / 0.7596 GB, free: 72.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.122, allocations: 0.5527 MB / 0.7601 GB, free: 72.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.133, allocations: 11.93 MB / 0.7717 GB, free: 63.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009339/1.134, allocations: 1.597 MB / 0.7733 GB, free: 62.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001573/1.136, allocations: 314.7 kB / 0.7736 GB, free: 62.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.137, allocations: 0.9153 MB / 0.7745 GB, free: 62.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/1.137, allocations: 3.938 kB / 0.7745 GB, free: 62.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09221/1.229, allocations: 68.28 MB / 0.8412 GB, free: 7.719 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.23, allocations: 185.8 kB / 0.8414 GB, free: 7.48 MB / 474.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Chemical_Chemical_Examples_HydrogenCombustion.o Chemical_Chemical_Examples_HydrogenCombustion.c In file included from Chemical_Chemical_Examples_HydrogenCombustion.c:7: In file included from ./Chemical_Chemical_Examples_HydrogenCombustion_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Chemical_Chemical_Examples_HydrogenCombustion.c:1759:900: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') data->localData[0]->realVars[84] /* $cse24 variable */ = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, data->simulationInfo->stringParameter[3] /* H2_gas1.substanceData.data.name PARAM */, data->simulationInfo->realParameter[94] /* H2_gas1.substanceData.data.MM PARAM */, data->simulationInfo->realParameter[93] /* H2_gas1.substanceData.data.Hf PARAM */, data->simulationInfo->realParameter[92] /* H2_gas1.substanceData.data.H0 PARAM */, data->simulationInfo->realParameter[96] /* H2_gas1.substanceData.data.Tlimit PARAM */, tmp8, tmp9, tmp10, tmp11, data->simulationInfo->realParameter[95] /* H2_gas1.substanceData.data.R_s PARAM */), data->localData[0]->realVars[287] /* idealGas1.temperature DUMMY_STATE */, 0, 2, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT33, _OMC_LIT34, _OMC_LIT33, _OMC_LIT34, 0.0), 1.0, 0.0); ^~~ ./Chemical_Chemical_Examples_HydrogenCombustion_functions.h:1042:136: note: passing argument to parameter 'omc_name' here Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R_s); ^ Chemical_Chemical_Examples_HydrogenCombustion.c:1779:902: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') data->localData[0]->realVars[83] /* $cse23 variable */ = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, data->simulationInfo->stringParameter[3] /* H2_gas1.substanceData.data.name PARAM */, data->simulationInfo->realParameter[94] /* H2_gas1.substanceData.data.MM PARAM */, data->simulationInfo->realParameter[93] /* H2_gas1.substanceData.data.Hf PARAM */, data->simulationInfo->realParameter[92] /* H2_gas1.substanceData.data.H0 PARAM */, data->simulationInfo->realParameter[96] /* H2_gas1.substanceData.data.Tlimit PARAM */, tmp12, tmp13, tmp14, tmp15, data->simulationInfo->realParameter[95] /* H2_gas1.substanceData.data.R_s PARAM */), data->localData[0]->realVars[287] /* idealGas1.temperature DUMMY_STATE */, 0, 2, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT33, _OMC_LIT34, _OMC_LIT33, _OMC_LIT34, 0.0), 0.0, 0.0); ^~~ ./Chemical_Chemical_Examples_HydrogenCombustion_functions.h:1042:136: note: passing argument to parameter 'omc_name' here Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R_s); ^ 2 warnings and 2 errors generated. make: *** [: Chemical_Chemical_Examples_HydrogenCombustion.o] Error 1