Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Chemistry.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.Chemistry.Examples.Stoichiometry,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Chemistry.Examples.Stoichiometry") translateModel(FCSys.Chemistry.Examples.Stoichiometry,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Chemistry.Examples.Stoichiometry") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009346/0.0009347, allocations: 166.9 kB / 15.96 MB, free: 5.867 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1502/0.1502, allocations: 17.63 MB / 34.33 MB, free: 1.113 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.461/1.461, allocations: 170.8 MB / 210.4 MB, free: 12.26 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.001742/0.001742, allocations: 113.8 kB / 254.5 MB, free: 0.6016 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003887, allocations: 10.94 kB / 308.5 MB, free: 49.97 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.0936, allocations: 43.32 MB / 351.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.034/7.128, allocations: 3.625 GB / 3.969 GB, free: 127.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/7.128, allocations: 94.14 kB / 3.969 GB, free: 127.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/7.228, allocations: 50.58 MB / 4.019 GB, free: 77.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.335e-06/7.228, allocations: 0 / 4.019 GB, free: 77.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.325e-05/7.228, allocations: 12 kB / 4.019 GB, free: 77.63 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001341/7.23, allocations: 0.7869 MB / 4.019 GB, free: 76.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/7.23, allocations: 8.031 kB / 4.019 GB, free: 76.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/7.23, allocations: 88.14 kB / 4.019 GB, free: 76.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/7.231, allocations: 461.8 kB / 4.02 GB, free: 76.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/7.231, allocations: 33.38 kB / 4.02 GB, free: 76.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/7.231, allocations: 36.38 kB / 4.02 GB, free: 76.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/7.232, allocations: 0.716 MB / 4.021 GB, free: 75.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/7.232, allocations: 192 / 4.021 GB, free: 75.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/7.232, allocations: 23.94 kB / 4.021 GB, free: 75.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/7.232, allocations: 32.98 kB / 4.021 GB, free: 75.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/7.233, allocations: 0.6207 MB / 4.021 GB, free: 74.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/7.235, allocations: 2.417 MB / 4.024 GB, free: 72.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/7.236, allocations: 0.5061 MB / 4.024 GB, free: 71.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/7.237, allocations: 350.9 kB / 4.024 GB, free: 71.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/7.237, allocations: 16.42 kB / 4.024 GB, free: 71.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/7.237, allocations: 42.98 kB / 4.024 GB, free: 71.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=54): time 1.924e-06/7.237, allocations: 0 / 4.024 GB, free: 71.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.003344/7.24, allocations: 1.581 MB / 4.026 GB, free: 69.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/7.241, allocations: 162.7 kB / 4.026 GB, free: 69.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/7.241, allocations: 357.6 kB / 4.027 GB, free: 68.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/7.241, allocations: 37.73 kB / 4.027 GB, free: 68.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/7.241, allocations: 225.1 kB / 4.027 GB, free: 68.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/7.241, allocations: 185.2 kB / 4.027 GB, free: 68.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/7.241, allocations: 12 kB / 4.027 GB, free: 68.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/7.241, allocations: 350.8 kB / 4.027 GB, free: 68.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/7.242, allocations: 240.9 kB / 4.028 GB, free: 67.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/7.242, allocations: 316.7 kB / 4.028 GB, free: 67.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/7.243, allocations: 0.5237 MB / 4.028 GB, free: 66.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/7.243, allocations: 3.938 kB / 4.028 GB, free: 66.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001577/7.244, allocations: 0.8732 MB / 4.029 GB, free: 66.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/7.245, allocations: 4 kB / 4.029 GB, free: 66.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/7.245, allocations: 0 / 4.029 GB, free: 66.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009635/7.246, allocations: 331.3 kB / 4.03 GB, free: 65.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/7.246, allocations: 67.89 kB / 4.03 GB, free: 65.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/7.251, allocations: 6.916 MB / 4.036 GB, free: 58.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/7.251, allocations: 43.7 kB / 4.036 GB, free: 58.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/7.251, allocations: 16 kB / 4.036 GB, free: 58.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (34): * Single equations (assignments): 30 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 6,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003076/7.252, allocations: 225.7 kB / 4.037 GB, free: 57.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/7.252, allocations: 47.42 kB / 4.037 GB, free: 57.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/7.252, allocations: 72.97 kB / 4.037 GB, free: 57.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/7.252, allocations: 11.92 kB / 4.037 GB, free: 57.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/7.252, allocations: 0 / 4.037 GB, free: 57.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/7.252, allocations: 3.984 kB / 4.037 GB, free: 57.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/7.253, allocations: 0.8154 MB / 4.038 GB, free: 56.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/7.253, allocations: 0 / 4.038 GB, free: 56.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/7.253, allocations: 63.92 kB / 4.038 GB, free: 56.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00083/7.254, allocations: 323.6 kB / 4.038 GB, free: 56.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/7.254, allocations: 16 kB / 4.038 GB, free: 56.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/7.259, allocations: 6.918 MB / 4.045 GB, free: 49.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/7.259, allocations: 3.938 kB / 4.045 GB, free: 49.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/7.26, allocations: 0.9605 MB / 4.046 GB, free: 48.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/7.261, allocations: 196.3 kB / 4.046 GB, free: 47.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/7.261, allocations: 4 kB / 4.046 GB, free: 47.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/7.261, allocations: 23.98 kB / 4.046 GB, free: 47.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/7.261, allocations: 60.3 kB / 4.046 GB, free: 47.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/7.261, allocations: 19.92 kB / 4.046 GB, free: 47.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002263/7.261, allocations: 251.2 kB / 4.046 GB, free: 47.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/7.261, allocations: 0 / 4.046 GB, free: 47.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008296/7.262, allocations: 227.7 kB / 4.046 GB, free: 47.26 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007011/7.263, allocations: 0.6037 MB / 4.047 GB, free: 46.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/7.264, allocations: 1.125 MB / 4.048 GB, free: 45.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/7.264, allocations: 0 / 4.048 GB, free: 45.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008915/7.265, allocations: 0.8722 MB / 4.049 GB, free: 44.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/7.266, allocations: 95.39 kB / 4.049 GB, free: 44.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/7.267, allocations: 1.36 MB / 4.05 GB, free: 43.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/7.268, allocations: 0.907 MB / 4.051 GB, free: 42.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002192/7.268, allocations: 83.28 kB / 4.051 GB, free: 42.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/7.268, allocations: 31.44 kB / 4.051 GB, free: 42.03 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/7.268, allocations: 0 / 4.051 GB, free: 42.03 MB / 394.7 MB Notification: Performance of Templates: time 0.02099/7.289, allocations: 17.46 MB / 4.068 GB, free: 24.59 MB / 394.7 MB make -j1 -f FCSys_FCSys.Chemistry.Examples.Stoichiometry.makefile make -j1 -f FCSys_FCSys.Chemistry.Examples.Stoichiometry.makefile b'clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Chemistry_Examples_Stoichiometry -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Chemistry.Examples.Stoichiometry.o FCSys_FCSys.Chemistry.Examples.Stoichiometry.c\nFCSys_FCSys.Chemistry.Examples.Stoichiometry.c:1011:14: warning: incompatible pointer types assigning to \'void (*)(threadData_t *, FILE_INFO, const char *, ...) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *, struct _FILE_INFO, const char *, ...) __attribute__((noreturn))\') from \'void (threadData_t *, FILE_INFO, const char *, ...)\' (aka \'void (struct threadData_s *, struct _FILE_INFO, const char *, ...)\') [-Wincompatible-pointer-types]\n omc_assert = omc_assert_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~~\nFCSys_FCSys.Chemistry.Examples.Stoichiometry.c:1017:13: warning: incompatible pointer types assigning to \'void (*)(threadData_t *) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *) __attribute__((noreturn))\') from \'void (threadData_t *)\' (aka \'void (struct threadData_s *)\') [-Wincompatible-pointer-types]\n omc_throw = omc_throw_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~\n2 warnings generated.\nclang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Chemistry_Examples_Stoichiometry -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Chemistry.Examples.Stoichiometry_functions.o FCSys_FCSys.Chemistry.Examples.Stoichiometry_functions.c\nFCSys_FCSys.Chemistry.Examples.Stoichiometry_functions.c:48:48: error: use of undeclared identifier \'_baseUnits\'\n FCSys_Units_Bases_Base_construct(threadData, _baseUnits);\n ^\nFCSys_FCSys.Chemistry.Examples.Stoichiometry_functions.c:54:8: error: no member named \'_\' in \'FCSys_Units_Bases_Base\'\n tmp2._\'cd\' = 1.0;\n ~~~~ ^\n2 errors generated.\nmake: *** [: FCSys_FCSys.Chemistry.Examples.Stoichiometry_functions.o] Error 1\n'