Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Conditions.Examples.Stoichiometry.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package FCSys with version 0.2.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(FCSys.Conditions.Examples.Stoichiometry,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Conditions.Examples.Stoichiometry") translateModel(FCSys.Conditions.Examples.Stoichiometry,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Conditions.Examples.Stoichiometry") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001585/0.001585, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1529/0.1529, allocations: 17.63 MB / 25.7 MB, free: 0.5234 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.457/1.457, allocations: 170.6 MB / 201.3 MB, free: 4.578 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001741/0.001741, allocations: 121.7 kB / 245.1 MB, free: 13.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.959e-05, allocations: 4 kB / 294.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 43.29 MB / 337.9 MB, free: 37.71 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.114/9.387, allocations: 3.618 GB / 3.948 GB, free: 24.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/9.387, allocations: 76.34 kB / 3.948 GB, free: 24.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3848/9.772, allocations: 36.17 MB / 3.983 GB, free: 128.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.316e-06/9.772, allocations: 1.375 kB / 3.983 GB, free: 128.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.297e-05/9.772, allocations: 11.44 kB / 3.983 GB, free: 128.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00113/9.773, allocations: 0.596 MB / 3.984 GB, free: 127.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/9.773, allocations: 9.781 kB / 3.984 GB, free: 127.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/9.774, allocations: 69.58 kB / 3.984 GB, free: 127.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/9.774, allocations: 354.4 kB / 3.984 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/9.774, allocations: 9.375 kB / 3.984 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/9.774, allocations: 14.5 kB / 3.984 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004113/9.775, allocations: 202.2 kB / 3.985 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/9.775, allocations: 314.6 kB / 3.985 GB, free: 127.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/9.775, allocations: 5.406 kB / 3.985 GB, free: 127.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/9.776, allocations: 0 / 3.985 GB, free: 127.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/9.776, allocations: 15.86 kB / 3.985 GB, free: 127.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/9.777, allocations: 1.178 MB / 3.986 GB, free: 126.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/9.778, allocations: 242.6 kB / 3.986 GB, free: 126.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/9.778, allocations: 144 kB / 3.986 GB, free: 126.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/9.778, allocations: 10.12 kB / 3.986 GB, free: 126.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/9.778, allocations: 42.94 kB / 3.986 GB, free: 126.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.233e-06/9.778, allocations: 1.219 kB / 3.986 GB, free: 126.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008795/9.779, allocations: 375.9 kB / 3.987 GB, free: 126.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/9.779, allocations: 82.33 kB / 3.987 GB, free: 126.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/9.779, allocations: 273.1 kB / 3.987 GB, free: 126.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/9.779, allocations: 25.7 kB / 3.987 GB, free: 126.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/9.78, allocations: 189.9 kB / 3.987 GB, free: 126.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/9.78, allocations: 91.12 kB / 3.987 GB, free: 126.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/9.78, allocations: 0 / 3.987 GB, free: 126.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/9.78, allocations: 345.1 kB / 3.988 GB, free: 126 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/9.78, allocations: 92.91 kB / 3.988 GB, free: 126 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/9.78, allocations: 152.2 kB / 3.988 GB, free: 125.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/9.78, allocations: 105.7 kB / 3.988 GB, free: 125.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/9.78, allocations: 5.938 kB / 3.988 GB, free: 125.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007832/9.781, allocations: 401.8 kB / 3.989 GB, free: 125.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/9.781, allocations: 6.531 kB / 3.989 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/9.781, allocations: 5.234 kB / 3.989 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003625/9.781, allocations: 109.8 kB / 3.989 GB, free: 125.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/9.782, allocations: 61.61 kB / 3.989 GB, free: 125.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/9.784, allocations: 2.962 MB / 3.992 GB, free: 123.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/9.784, allocations: 30.12 kB / 3.992 GB, free: 123.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/9.784, allocations: 11.25 kB / 3.992 GB, free: 123.4 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: A.reaction.sT:VARIABLE(flow=false min = 0.0 unit = "L2.M/(N.T2)" nominal = 0.03800173636412126 ) "Product of specific entropy and temperature" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000151/9.784, allocations: 114.2 kB / 3.992 GB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/9.785, allocations: 32.06 kB / 3.992 GB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/9.785, allocations: 52.66 kB / 3.992 GB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/9.785, allocations: 7.516 kB / 3.992 GB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/9.785, allocations: 1.125 kB / 3.992 GB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/9.785, allocations: 0 / 3.992 GB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/9.785, allocations: 0.5608 MB / 3.992 GB, free: 123 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/9.785, allocations: 5.672 kB / 3.992 GB, free: 123 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/9.786, allocations: 44.59 kB / 3.992 GB, free: 123 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/9.786, allocations: 107.2 kB / 3.993 GB, free: 123 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/9.786, allocations: 7.438 kB / 3.993 GB, free: 123 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/9.788, allocations: 2.974 MB / 3.995 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/9.788, allocations: 0 / 3.995 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/9.789, allocations: 496.3 kB / 3.996 GB, free: 120.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/9.789, allocations: 156.5 kB / 3.996 GB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/9.789, allocations: 3.625 kB / 3.996 GB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/9.789, allocations: 10.88 kB / 3.996 GB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/9.789, allocations: 30.59 kB / 3.996 GB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/9.789, allocations: 14.59 kB / 3.996 GB, free: 120.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002091/9.789, allocations: 210.9 kB / 3.996 GB, free: 120.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/9.789, allocations: 3.938 kB / 3.996 GB, free: 120.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006071/9.79, allocations: 122.6 kB / 3.996 GB, free: 120.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009397/9.791, allocations: 0.684 MB / 3.997 GB, free: 120.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006999/9.792, allocations: 492 kB / 3.998 GB, free: 119.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/9.792, allocations: 0 / 3.998 GB, free: 119.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/9.792, allocations: 399.5 kB / 3.998 GB, free: 119.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/9.793, allocations: 64.91 kB / 3.998 GB, free: 119.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/9.793, allocations: 498.2 kB / 3.998 GB, free: 119.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/9.794, allocations: 0.8357 MB / 3.999 GB, free: 118.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/9.794, allocations: 58.19 kB / 3.999 GB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/9.794, allocations: 25.73 kB / 3.999 GB, free: 118.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/9.794, allocations: 0 / 3.999 GB, free: 118.7 MB / 394.7 MB Notification: Performance of Templates: time 0.01335/9.807, allocations: 8.09 MB / 4.007 GB, free: 118 MB / 394.7 MB make -j1 -f FCSys_FCSys.Conditions.Examples.Stoichiometry.makefile make -j1 -f FCSys_FCSys.Conditions.Examples.Stoichiometry.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Conditions_Examples_Stoichiometry -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Conditions.Examples.Stoichiometry.o FCSys_FCSys.Conditions.Examples.Stoichiometry.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Conditions_Examples_Stoichiometry -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.o FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:13:3: error: use of undeclared identifier '_baseUnits' _baseUnits._rad = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:14:3: error: use of undeclared identifier '_baseUnits' _baseUnits._R_inf = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:15:3: error: use of undeclared identifier '_baseUnits' _baseUnits._c = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:16:3: error: use of undeclared identifier '_baseUnits' _baseUnits._k_J = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:17:3: error: use of undeclared identifier '_baseUnits' _baseUnits._R_K = 68.51799953713946; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:18:3: error: use of undeclared identifier '_baseUnits' _baseUnits._'cd' = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:19:3: error: use of undeclared identifier '_baseUnits' _baseUnits._k_F = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:20:3: error: use of undeclared identifier '_baseUnits' _baseUnits._R = 1.0;tmp2._rad = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:25:8: error: no member named '_' in 'struct FCSys_Units_Bases_Base_s' tmp2._'cd' = 1.0; ~~~~ ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:54:3: error: use of undeclared identifier '_baseUnits' _baseUnits._rad = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:55:3: error: use of undeclared identifier '_baseUnits' _baseUnits._R_inf = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:56:3: error: use of undeclared identifier '_baseUnits' _baseUnits._c = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:57:3: error: use of undeclared identifier '_baseUnits' _baseUnits._k_J = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:58:3: error: use of undeclared identifier '_baseUnits' _baseUnits._R_K = 68.51799953713946; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:59:3: error: use of undeclared identifier '_baseUnits' _baseUnits._'cd' = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:60:3: error: use of undeclared identifier '_baseUnits' _baseUnits._k_F = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:61:3: error: use of undeclared identifier '_baseUnits' _baseUnits._R = 1.0;tmp2._rad = 1.0; ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:66:8: error: no member named '_' in 'struct FCSys_Units_Bases_Base_s' tmp2._'cd' = 1.0; ~~~~ ^ 18 errors generated. make: *** [: FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.o] Error 1