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.006149/0.006149, allocations: 163.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1557/0.1557, allocations: 17.63 MB / 33.47 MB, free: 1.418 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.456/1.456, allocations: 170.8 MB / 209.5 MB, free: 8.926 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.001718/0.001718, allocations: 115.4 kB / 253.6 MB, free: 12.76 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 12 kB / 307.4 MB, free: 32.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09584, allocations: 43.33 MB / 350.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.618/8.714, allocations: 3.619 GB / 3.961 GB, free: 132.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/8.714, allocations: 86.33 kB / 3.961 GB, free: 132.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07678/8.791, allocations: 36.93 MB / 3.997 GB, free: 95.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/8.791, allocations: 0 / 3.997 GB, free: 95.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.003e-05/8.791, allocations: 8 kB / 3.997 GB, free: 95.33 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.001092/8.792, allocations: 0.6664 MB / 3.998 GB, free: 94.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/8.792, allocations: 8.031 kB / 3.998 GB, free: 94.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/8.792, allocations: 71.34 kB / 3.998 GB, free: 94.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/8.793, allocations: 361.1 kB / 3.998 GB, free: 94.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/8.793, allocations: 28.55 kB / 3.998 GB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/8.793, allocations: 20 kB / 3.998 GB, free: 94.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/8.794, allocations: 383.6 kB / 3.999 GB, free: 93.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/8.794, allocations: 0 / 3.999 GB, free: 93.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/8.794, allocations: 8 kB / 3.999 GB, free: 93.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/8.794, allocations: 16.44 kB / 3.999 GB, free: 93.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/8.794, allocations: 305.5 kB / 3.999 GB, free: 93.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/8.796, allocations: 1.204 MB / 4 GB, free: 92.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/8.797, allocations: 297.7 kB / 4.001 GB, free: 91.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/8.797, allocations: 12.2 kB / 4.001 GB, free: 91.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/8.797, allocations: 34.8 kB / 4.001 GB, free: 91.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/8.797, allocations: 0 / 4.001 GB, free: 91.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.00177/8.798, allocations: 0.7761 MB / 4.001 GB, free: 90.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/8.799, allocations: 81.11 kB / 4.002 GB, free: 90.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/8.799, allocations: 304.8 kB / 4.002 GB, free: 90.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/8.799, allocations: 29.7 kB / 4.002 GB, free: 90.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/8.799, allocations: 192.5 kB / 4.002 GB, free: 90.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/8.799, allocations: 94.64 kB / 4.002 GB, free: 90.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/8.799, allocations: 4 kB / 4.002 GB, free: 90.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/8.799, allocations: 338.8 kB / 4.002 GB, free: 89.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/8.799, allocations: 116.5 kB / 4.003 GB, free: 89.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/8.8, allocations: 167.2 kB / 4.003 GB, free: 89.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/8.8, allocations: 127.9 kB / 4.003 GB, free: 89.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/8.8, allocations: 0 / 4.003 GB, free: 89.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008778/8.801, allocations: 467.5 kB / 4.003 GB, free: 88.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/8.801, allocations: 11.94 kB / 4.003 GB, free: 88.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/8.801, allocations: 0 / 4.003 GB, free: 88.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/8.801, allocations: 149.8 kB / 4.003 GB, free: 88.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/8.802, allocations: 43.97 kB / 4.003 GB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/8.805, allocations: 3.332 MB / 4.007 GB, free: 85.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/8.805, allocations: 35.72 kB / 4.007 GB, free: 85.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/8.805, allocations: 15.94 kB / 4.007 GB, free: 85.04 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.0002231/8.805, allocations: 161.9 kB / 4.007 GB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/8.805, allocations: 39.52 kB / 4.007 GB, free: 84.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/8.805, allocations: 48.16 kB / 4.007 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/8.805, allocations: 4 kB / 4.007 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/8.805, allocations: 0 / 4.007 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/8.805, allocations: 0 / 4.007 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/8.806, allocations: 0.6043 MB / 4.008 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/8.806, allocations: 0 / 4.008 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/8.806, allocations: 43.94 kB / 4.008 GB, free: 84.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/8.807, allocations: 145.5 kB / 4.008 GB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/8.807, allocations: 4 kB / 4.008 GB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/8.809, allocations: 3.313 MB / 4.011 GB, free: 80.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/8.809, allocations: 0 / 4.011 GB, free: 80.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/8.81, allocations: 0.5498 MB / 4.012 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/8.81, allocations: 144.6 kB / 4.012 GB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/8.81, allocations: 4 kB / 4.012 GB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/8.81, allocations: 23.83 kB / 4.012 GB, free: 79.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/8.81, allocations: 27.95 kB / 4.012 GB, free: 79.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/8.81, allocations: 8 kB / 4.012 GB, free: 79.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002159/8.811, allocations: 251.2 kB / 4.012 GB, free: 79.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/8.811, allocations: 0 / 4.012 GB, free: 79.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007143/8.811, allocations: 144 kB / 4.012 GB, free: 79.16 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.0008507/8.812, allocations: 0.5956 MB / 4.013 GB, free: 78.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008891/8.813, allocations: 0.5603 MB / 4.013 GB, free: 77.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/8.813, allocations: 0 / 4.013 GB, free: 77.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/8.814, allocations: 433.9 kB / 4.014 GB, free: 77.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/8.814, allocations: 83.89 kB / 4.014 GB, free: 77.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/8.815, allocations: 0.898 MB / 4.015 GB, free: 76.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/8.815, allocations: 0.8383 MB / 4.015 GB, free: 75.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/8.816, allocations: 42.95 kB / 4.015 GB, free: 75.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/8.816, allocations: 19.44 kB / 4.015 GB, free: 75.59 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/8.816, allocations: 0 / 4.015 GB, free: 75.59 MB / 394.7 MB Notification: Performance of Templates: time 0.01746/8.833, allocations: 13.27 MB / 4.028 GB, free: 62.32 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 -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../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=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 clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../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=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 FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:35:48: error: use of undeclared identifier '_baseUnits' FCSys_Units_Bases_Base_construct(threadData, _baseUnits); ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:41:8: error: no member named '_' in 'FCSys_Units_Bases_Base' tmp2._'cd' = 1.0; ~~~~ ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:70:48: error: use of undeclared identifier '_baseUnits' FCSys_Units_Bases_Base_construct(threadData, _baseUnits); ^ FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.c:76:8: error: no member named '_' in 'FCSys_Units_Bases_Base' tmp2._'cd' = 1.0; ~~~~ ^ 4 errors generated. make: *** [: FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.o] Error 1