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.001193/0.001193, allocations: 170.4 kB / 15.96 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1025/0.1025, allocations: 17.63 MB / 34.33 MB, free: 1.105 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.29/1.29, allocations: 170.8 MB / 210.4 MB, free: 8.867 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.001694/0.001694, allocations: 118.7 kB / 254.5 MB, free: 12.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.000424, allocations: 12 kB / 308.4 MB, free: 31.97 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07987/0.08031, allocations: 43.33 MB / 351.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.309/7.39, allocations: 3.619 GB / 3.962 GB, free: 131.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/7.39, allocations: 82.16 kB / 3.962 GB, free: 131.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07095/7.461, allocations: 36.89 MB / 3.998 GB, free: 94.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/7.461, allocations: 0 / 3.998 GB, free: 94.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.612e-05/7.461, allocations: 11.98 kB / 3.998 GB, free: 94.74 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.0008869/7.462, allocations: 0.6471 MB / 3.999 GB, free: 94.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/7.462, allocations: 12.03 kB / 3.999 GB, free: 94.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/7.462, allocations: 64.34 kB / 3.999 GB, free: 93.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/7.463, allocations: 378.1 kB / 4 GB, free: 93.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/7.463, allocations: 20.94 kB / 4 GB, free: 93.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/7.463, allocations: 20.38 kB / 4 GB, free: 93.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/7.463, allocations: 384.1 kB / 4 GB, free: 93.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/7.463, allocations: 4.125 kB / 4 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/7.463, allocations: 15.94 kB / 4 GB, free: 93.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/7.463, allocations: 20.42 kB / 4 GB, free: 93.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/7.464, allocations: 301.5 kB / 4 GB, free: 92.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/7.465, allocations: 1.208 MB / 4.001 GB, free: 91.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/7.466, allocations: 297.7 kB / 4.002 GB, free: 91.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/7.466, allocations: 166.1 kB / 4.002 GB, free: 90.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/7.466, allocations: 16.16 kB / 4.002 GB, free: 90.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/7.466, allocations: 34.8 kB / 4.002 GB, free: 90.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/7.466, allocations: 0 / 4.002 GB, free: 90.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001748/7.468, allocations: 0.7833 MB / 4.003 GB, free: 90.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/7.468, allocations: 81.11 kB / 4.003 GB, free: 90 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/7.468, allocations: 345.7 kB / 4.003 GB, free: 89.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/7.468, allocations: 33.7 kB / 4.003 GB, free: 89.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/7.468, allocations: 180.5 kB / 4.003 GB, free: 89.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/7.468, allocations: 102.5 kB / 4.003 GB, free: 89.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/7.469, allocations: 4 kB / 4.003 GB, free: 89.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/7.469, allocations: 338.8 kB / 4.004 GB, free: 88.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/7.469, allocations: 120.5 kB / 4.004 GB, free: 88.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/7.469, allocations: 167 kB / 4.004 GB, free: 88.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/7.47, allocations: 298.6 kB / 4.004 GB, free: 88.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/7.47, allocations: 4 kB / 4.004 GB, free: 88.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008607/7.47, allocations: 466.5 kB / 4.005 GB, free: 87.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/7.47, allocations: 8 kB / 4.005 GB, free: 87.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/7.47, allocations: 0 / 4.005 GB, free: 87.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/7.471, allocations: 145.8 kB / 4.005 GB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/7.471, allocations: 51.91 kB / 4.005 GB, free: 87.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/7.474, allocations: 3.27 MB / 4.008 GB, free: 84.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/7.474, allocations: 35.67 kB / 4.008 GB, free: 84.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/7.474, allocations: 12 kB / 4.008 GB, free: 84.1 MB / 394.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001787/7.474, allocations: 169.8 kB / 4.008 GB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/7.474, allocations: 43.58 kB / 4.008 GB, free: 83.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.143e-05/7.474, allocations: 44.16 kB / 4.008 GB, free: 83.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/7.474, allocations: 4 kB / 4.008 GB, free: 83.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/7.474, allocations: 0 / 4.008 GB, free: 83.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/7.474, allocations: 7.922 kB / 4.008 GB, free: 83.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/7.475, allocations: 0.5849 MB / 4.009 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/7.475, allocations: 4 kB / 4.009 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/7.475, allocations: 39.94 kB / 4.009 GB, free: 83.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/7.475, allocations: 142 kB / 4.009 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/7.475, allocations: 12 kB / 4.009 GB, free: 82.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/7.478, allocations: 3.257 MB / 4.012 GB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/7.478, allocations: 3.938 kB / 4.012 GB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/7.478, allocations: 0.5442 MB / 4.013 GB, free: 78.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/7.479, allocations: 152.5 kB / 4.013 GB, free: 78.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/7.479, allocations: 8 kB / 4.013 GB, free: 78.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/7.479, allocations: 19.92 kB / 4.013 GB, free: 78.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/7.479, allocations: 31.89 kB / 4.013 GB, free: 78.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/7.479, allocations: 8 kB / 4.013 GB, free: 78.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002001/7.479, allocations: 247.2 kB / 4.013 GB, free: 78.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/7.479, allocations: 4 kB / 4.013 GB, free: 78.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005813/7.48, allocations: 144 kB / 4.014 GB, free: 78.27 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 (16): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006499/7.48, allocations: 0.5883 MB / 4.014 GB, free: 77.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008365/7.481, allocations: 0.5604 MB / 4.015 GB, free: 77.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.481, allocations: 4.375 kB / 4.015 GB, free: 77.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/7.482, allocations: 429.6 kB / 4.015 GB, free: 76.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/7.482, allocations: 82.7 kB / 4.015 GB, free: 76.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/7.483, allocations: 0.9108 MB / 4.016 GB, free: 75.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/7.484, allocations: 0.8227 MB / 4.017 GB, free: 74.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/7.484, allocations: 42.95 kB / 4.017 GB, free: 74.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/7.484, allocations: 19.44 kB / 4.017 GB, free: 74.71 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/7.484, allocations: 4 kB / 4.017 GB, free: 74.7 MB / 394.7 MB Notification: Performance of Templates: time 0.01572/7.5, allocations: 13.36 MB / 4.03 GB, free: 61.35 MB / 394.7 MB make -j1 -f FCSys_FCSys.Conditions.Examples.Stoichiometry.makefile make -j1 -f FCSys_FCSys.Conditions.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_Conditions_Examples_Stoichiometry -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Conditions.Examples.Stoichiometry.o FCSys_FCSys.Conditions.Examples.Stoichiometry.c\nFCSys_FCSys.Conditions.Examples.Stoichiometry.c:657: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.Conditions.Examples.Stoichiometry.c:663: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_Conditions_Examples_Stoichiometry -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.o FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c\nFCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:48:48: error: use of undeclared identifier \'_baseUnits\'\n FCSys_Units_Bases_Base_construct(threadData, _baseUnits);\n ^\nFCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:54:8: error: no member named \'_\' in \'FCSys_Units_Bases_Base\'\n tmp2._\'cd\' = 1.0;\n ~~~~ ^\nFCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:83:48: error: use of undeclared identifier \'_baseUnits\'\n FCSys_Units_Bases_Base_construct(threadData, _baseUnits);\n ^\nFCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:89:8: error: no member named \'_\' in \'FCSys_Units_Bases_Base\'\n tmp2._\'cd\' = 1.0;\n ~~~~ ^\n4 errors generated.\nmake: *** [: FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.o] Error 1\n'