Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.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.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.07342/0.07342, allocations: 15.26 MB / 22.54 MB, free: 1.113 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.0009101/0.0009101, allocations: 187.4 kB / 27.31 MB, free: 0 / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 221.4 MB / 253.3 MB, free: 10.6 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.0008075/0.0008072, allocations: 92.67 kB / 308.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1955/0.1963, allocations: 60.73 MB / 369.1 MB, free: 53.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.2754, allocations: 54.63 MB / 423.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2642/0.5396, allocations: 104.7 MB / 0.5161 GB, free: 8.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.5398, allocations: 67.86 kB / 0.5161 GB, free: 8.344 MB / 362.7 MB [/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 blood_erythrocytes.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$blood_erythrocytes. 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 blood_plasma.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$blood_plasma. 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 HCO3.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$HCO3. 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 CO2_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.Sources.ExternalIdealGasSubstance$CO2_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 CO2.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$CO2. 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.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. 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 HCO3_E.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$HCO3_E. 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 CO2_E.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$CO2_E. 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_E.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_E. 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 Cl_E.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$Cl_E. 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 Cl.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$Cl. 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 H_E.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.Sources.Buffer$H_E. 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 others_E.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$others_E. 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 others_P.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$others_P. 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 H.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.Sources.Buffer$H. 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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.358/0.8978, allocations: 145.4 MB / 0.6581 GB, free: 9.328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8978, allocations: 8 kB / 0.6581 GB, free: 9.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/0.9026, allocations: 1.044 MB / 0.6592 GB, free: 8.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00614/0.9088, allocations: 2.379 MB / 0.6615 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.9091, allocations: 193.7 kB / 0.6617 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.9101, allocations: 195.8 kB / 0.6619 GB, free: 5.473 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1597/1.07, allocations: 8.684 MB / 0.6703 GB, free: 94.87 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005711/1.076, allocations: 4.483 MB / 0.6747 GB, free: 94.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/1.076, allocations: 7.094 kB / 0.6747 GB, free: 94.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/1.076, allocations: 3.875 kB / 0.6747 GB, free: 94.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/1.076, allocations: 77.25 kB / 0.6748 GB, free: 94.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02225/1.098, allocations: 17.55 MB / 0.6919 GB, free: 91.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/1.101, allocations: 3.259 MB / 0.6951 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/1.104, allocations: 3.092 MB / 0.6981 GB, free: 91.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.105, allocations: 0.9317 MB / 0.699 GB, free: 91.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.105, allocations: 70.7 kB / 0.6991 GB, free: 91.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=391): time 4.749e-06/1.105, allocations: 0 / 0.6991 GB, free: 91.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=582): time 0.1194/1.225, allocations: 41.59 MB / 0.7397 GB, free: 88.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.225, allocations: 115.8 kB / 0.7398 GB, free: 88.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/1.227, allocations: 1.841 MB / 0.7416 GB, free: 88.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008952/1.228, allocations: 25.7 kB / 0.7417 GB, free: 88.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/1.229, allocations: 0.8651 MB / 0.7425 GB, free: 88.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002425/1.231, allocations: 1.859 MB / 0.7443 GB, free: 87.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007901/1.232, allocations: 0 / 0.7443 GB, free: 87.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/1.232, allocations: 0.4953 MB / 0.7448 GB, free: 86.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005618/1.238, allocations: 4.618 MB / 0.7493 GB, free: 85.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005903/1.244, allocations: 5.137 MB / 0.7543 GB, free: 83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.255, allocations: 5.848 MB / 0.76 GB, free: 81.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/1.255, allocations: 2.875 kB / 0.76 GB, free: 81.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=663) (initialization): time 0.03388/1.289, allocations: 14.03 MB / 0.7738 GB, free: 76.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.289, allocations: 3.906 kB / 0.7738 GB, free: 76.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/1.289, allocations: 7.875 kB / 0.7738 GB, free: 76.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/1.301, allocations: 2.806 MB / 0.7765 GB, free: 75.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005446/1.307, allocations: 1.031 MB / 0.7775 GB, free: 75.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.027/1.334, allocations: 19.65 MB / 0.7967 GB, free: 62.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/1.346, allocations: 0.7481 MB / 0.7974 GB, free: 62.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/1.347, allocations: 325.2 kB / 0.7977 GB, free: 62 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pH_p:VARIABLE() type: Real HendersonHasselbalch2.du:VARIABLE(unit = "J/mol" protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H_E.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_E.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real CO2_E.solution.v:DUMMY_STATE(flow=false unit = "V" ) "Electric potential in the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (516): * Single equations (assignments): 505 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 28,(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 5 {4 53,1 3,2 5,1 12,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00168/1.349, allocations: 193.1 kB / 0.7979 GB, free: 61.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.35, allocations: 361 kB / 0.7983 GB, free: 61.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02797/1.378, allocations: 13.65 MB / 0.8116 GB, free: 50.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03015/1.408, allocations: 13.54 MB / 0.8248 GB, free: 39.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.021e-05/1.409, allocations: 8.906 kB / 0.8248 GB, free: 39.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001636/1.409, allocations: 33.42 kB / 0.8249 GB, free: 39.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05913/1.468, allocations: 40.72 MB / 0.8646 GB, free: 6.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-05/1.468, allocations: 24 kB / 0.8646 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003761/1.472, allocations: 0.8753 MB / 0.8655 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03206/1.504, allocations: 7.808 MB / 0.8731 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001136/1.505, allocations: 153.2 kB / 0.8733 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1776/1.683, allocations: 21.47 MB / 0.8942 GB, free: 82.47 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:376:7-379:62:writable] Error: Model is structurally singular, error found sorting equations 128: H2O.SelfClustering_dG = $cse38 - blood_plasma.temperature * $cse37; 130: H2O.amountOfBaseMolecules = exp(H2O.logn); 139: HCO3.amountOfBaseMolecules = exp(HCO3.logn); 138: Cl.amountOfBaseMolecules = exp(Cl.logn); 137: others_P.amountOfBaseMolecules = exp(others_P.logn); 135: CO2.amountOfBaseMolecules = exp(CO2.logn); 42: HCO3.amountOfBaseMolecules + CO2.amountOfBaseMolecules + H2O.solution.nj + Cl.amountOfBaseMolecules + others_P.amountOfBaseMolecules - H.solution.n = 0.0; 127: H2O.SelfClustering_K = exp(-0.120272355042726 * H2O.SelfClustering_dG / blood_plasma.temperature); 41: H2O.x = 0.5 * (2.0 * H2O.SelfClustering_K + H.solution.n / H2O.amountOfBaseMolecules - sqrt(4.0 * H2O.SelfClustering_K * H.solution.n / H2O.amountOfBaseMolecules + (H.solution.n / H2O.amountOfBaseMolecules) ^ 2.0)) / H2O.SelfClustering_K ^ 2.0; 145: $STATESET1.J[6] = H2O.x - H2O.amountOfFreeMolecule / H.solution.n; 40: H2O.solution.nj * (1.0 - H2O.SelfClustering_K * H2O.x) = H2O.amountOfFreeMolecule; for variables H2O.SelfClustering_dG(16), H2O.amountOfBaseMolecules(14), HCO3.amountOfBaseMolecules(5), Cl.amountOfBaseMolecules(6), others_P.amountOfBaseMolecules(7), CO2.amountOfBaseMolecules(9), H.solution.n(102), H2O.SelfClustering_K(17), H2O.x(103), $cse80(129), H2O.amountOfFreeMolecule(104), H_E.z(40) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01218/1.695, allocations: 4.132 MB / 0.8983 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03304/1.728, allocations: 22.89 MB / 0.9206 GB, free: 77.02 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04245/1.77, allocations: 29.83 MB / 0.9498 GB, free: 71.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.772, allocations: 0.5599 MB / 0.9503 GB, free: 71.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/1.774, allocations: 46.47 kB / 0.9504 GB, free: 71.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007879/1.781, allocations: 385.6 kB / 0.9507 GB, free: 71.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/1.783, allocations: 475.1 kB / 0.9512 GB, free: 71.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009063/1.784, allocations: 274 kB / 0.9514 GB, free: 71.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002067/1.786, allocations: 1.401 MB / 0.9528 GB, free: 70.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01227/1.798, allocations: 4.484 MB / 0.9572 GB, free: 70.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 113 * Number of states: 14 ($STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],blood_plasma.mass) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 4 {(2,100.0%) 6,(3,77.8%) 28,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {2 8,21 137} Notification: Performance of Backend phase and start with SimCode phase: time 0.005058/1.803, allocations: 2.388 MB / 0.9595 GB, free: 69.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02073/1.824, allocations: 11.7 MB / 0.9709 GB, free: 65.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.936e-05/1.824, allocations: 10.44 kB / 0.9709 GB, free: 65.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01547/1.839, allocations: 7.843 MB / 0.9786 GB, free: 62.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007/1.846, allocations: 0.9564 MB / 0.9795 GB, free: 62.38 MB / 474.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4354:9-4354:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:596:5-596:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] Error: Internal error SimCode: The model Chemical.Examples.AcidBase.CarbonDioxideInBlood could not be translated to FMU