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.08388/0.08388, allocations: 15.26 MB / 22.74 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008576/0.0008576, allocations: 177 kB / 27.51 MB, free: 6.121 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.232/1.232, allocations: 221.5 MB / 253.7 MB, free: 10.35 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.0008152/0.0008152, allocations: 104.3 kB / 308.8 MB, free: 10.46 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.311e-05/1.313e-05, allocations: 2.75 kB / 369.7 MB, free: 53.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.07919, allocations: 54.63 MB / 424.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3318/0.411, allocations: 137.1 MB / 0.5482 GB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001606/0.4113, allocations: 74.19 kB / 0.5483 GB, free: 4.883 MB / 362.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.1653/0.5766, allocations: 72.16 MB / 0.6188 GB, free: 5.062 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5766, allocations: 0 / 0.6188 GB, free: 5.062 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.005e-05/0.5767, allocations: 40 kB / 0.6188 GB, free: 5.023 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.004072/0.5808, allocations: 2.367 MB / 0.6211 GB, free: 2.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.5808, allocations: 16.02 kB / 0.6211 GB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.5851, allocations: 1.223 MB / 0.6223 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.5874, allocations: 1.313 MB / 0.6236 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.5876, allocations: 135.3 kB / 0.6237 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.5878, allocations: 123.9 kB / 0.6238 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004912/0.5927, allocations: 4.084 MB / 0.6278 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.5961, allocations: 2.552 MB / 0.6303 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.5962, allocations: 0 / 0.6303 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.5963, allocations: 4 kB / 0.6303 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.5964, allocations: 47.95 kB / 0.6304 GB, free: 9 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01255/0.6089, allocations: 10.16 MB / 0.6403 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.6133, allocations: 3.645 MB / 0.6439 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.615, allocations: 1.674 MB / 0.6455 GB, free: 9.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/0.6155, allocations: 368 kB / 0.6458 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6156, allocations: 56.66 kB / 0.6459 GB, free: 8.594 MB / 458.7 MB Notification: Performance of pre-optimization done (n=191): time 3.546e-06/0.6156, allocations: 3.938 kB / 0.6459 GB, free: 8.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=244): time 0.02804/0.6436, allocations: 14.33 MB / 0.6599 GB, free: 10.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.6437, allocations: 99.73 kB / 0.66 GB, free: 9.984 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.6448, allocations: 0.9213 MB / 0.6609 GB, free: 9.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.645, allocations: 25.7 kB / 0.6609 GB, free: 9.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.6455, allocations: 0.8457 MB / 0.6617 GB, free: 8.164 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/0.6461, allocations: 0.785 MB / 0.6625 GB, free: 7.367 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.6462, allocations: 0 / 0.6625 GB, free: 7.367 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.6463, allocations: 398.3 kB / 0.6629 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.6481, allocations: 1.636 MB / 0.6645 GB, free: 5.332 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.65, allocations: 1.91 MB / 0.6664 GB, free: 3.328 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.6541, allocations: 2.369 MB / 0.6687 GB, free: 0.957 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6541, allocations: 4 kB / 0.6687 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.2255/0.8796, allocations: 5.327 MB / 0.6739 GB, free: 113.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.8797, allocations: 7.406 kB / 0.6739 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.8797, allocations: 7.672 kB / 0.6739 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.8826, allocations: 1.068 MB / 0.6749 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.8849, allocations: 457.9 kB / 0.6754 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/0.8942, allocations: 10.47 MB / 0.6856 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.8958, allocations: 71.45 kB / 0.6857 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.896, allocations: 103.2 kB / 0.6858 GB, free: 107.4 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H2O_gas.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 200 * 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.0003468/0.8963, allocations: 140.9 kB / 0.6859 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007325/0.9036, allocations: 5.125 MB / 0.6909 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.9039, allocations: 179 kB / 0.6911 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007953/0.9118, allocations: 5.589 MB / 0.6965 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.9119, allocations: 25.86 kB / 0.6965 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.9119, allocations: 7.281 kB / 0.6966 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.9119, allocations: 14.34 kB / 0.6966 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.9235, allocations: 9.932 MB / 0.7063 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.9235, allocations: 3.75 kB / 0.7063 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/0.9256, allocations: 434.3 kB / 0.7067 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/0.928, allocations: 0.9756 MB / 0.7076 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.9281, allocations: 43.19 kB / 0.7077 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007261/0.9354, allocations: 9.437 MB / 0.7169 GB, free: 99.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.9354, allocations: 5 kB / 0.7169 GB, free: 99.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00981/0.9453, allocations: 8.391 MB / 0.7251 GB, free: 96.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.9457, allocations: 254 kB / 0.7253 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.9459, allocations: 14.58 kB / 0.7254 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.947, allocations: 60.62 kB / 0.7254 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.9473, allocations: 202.5 kB / 0.7256 GB, free: 96.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.9474, allocations: 99.14 kB / 0.7257 GB, free: 96.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007832/0.9482, allocations: 0.7006 MB / 0.7264 GB, free: 96.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9482, allocations: 3.438 kB / 0.7264 GB, free: 96.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002633/0.9509, allocations: 0.9714 MB / 0.7273 GB, free: 96.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (idealGas1.temperature,H2_gas1.logn,O2_gas1.logn,H2O_gas1.logn,idealGas.temperature,H2_gas.logn,O2_gas.logn,H2O_gas.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 196 * 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%) 9,(1,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 3 {1 8,1 11,2 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0114/0.9623, allocations: 11.12 MB / 0.7382 GB, free: 90.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004229/0.9665, allocations: 4.48 MB / 0.7426 GB, free: 88.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.9666, allocations: 5.875 kB / 0.7426 GB, free: 88.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.9689, allocations: 2.644 MB / 0.7452 GB, free: 87.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.971, allocations: 0.5113 MB / 0.7457 GB, free: 87.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/0.9773, allocations: 4.597 MB / 0.7501 GB, free: 83.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008032/0.9781, allocations: 1.594 MB / 0.7517 GB, free: 82.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001128/0.9792, allocations: 308.9 kB / 0.752 GB, free: 81.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009549/0.9802, allocations: 0.9218 MB / 0.7529 GB, free: 81.1 MB / 474.7 MB Notification: Performance of SimCode: time 8.41e-07/0.9802, allocations: 0 / 0.7529 GB, free: 81.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07959/1.06, allocations: 62.32 MB / 0.8138 GB, free: 30.11 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/1.06, allocations: 116.8 kB / 0.8139 GB, free: 29.91 MB / 474.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Chemical_Chemical_Examples_HydrogenCombustion -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical_Examples_HydrogenCombustion_FMU.o Chemical_Chemical_Examples_HydrogenCombustion_FMU.c In file included from Chemical_Chemical_Examples_HydrogenCombustion_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Chemical_Chemical_Examples_HydrogenCombustion_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Chemical_Chemical_Examples_HydrogenCombustion -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Chemical_Chemical_Examples_HydrogenCombustion.c:1882:613: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') data->localData[0]->realVars[80] /* $cse24 variable */ = omc_$DER$$PModelica$PMedia$PIdealGases$PCommon$PFunctions$Ph__T(threadData, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, data->simulationInfo->stringParameter[3], data->simulationInfo->realParameter[93], data->simulationInfo->realParameter[92], data->simulationInfo->realParameter[91], data->simulationInfo->realParameter[95], tmp33, tmp34, tmp35, tmp36, data->simulationInfo->realParameter[94]), data->localData[0]->realVars[7] /* idealGas1.temperature STATE(1) */, 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:634: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:1902:613: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') data->localData[0]->realVars[79] /* $cse23 variable */ = omc_$DER$$PModelica$PMedia$PIdealGases$PCommon$PFunctions$Ph__T(threadData, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, data->simulationInfo->stringParameter[3], data->simulationInfo->realParameter[93], data->simulationInfo->realParameter[92], data->simulationInfo->realParameter[91], data->simulationInfo->realParameter[95], tmp37, tmp38, tmp39, tmp40, data->simulationInfo->realParameter[94]), data->localData[0]->realVars[7] /* idealGas1.temperature STATE(1) */, 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:634: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