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.002183/0.002183, allocations: 169.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.2162/0.2162, allocations: 17.61 MB / 30.87 MB, free: 3.148 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.843/1.843, allocations: 170.6 MB / 206.5 MB, free: 5.664 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.00172/0.00172, allocations: 103.9 kB / 250.4 MB, free: 8.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.103e-05/9.106e-05, allocations: 11.92 kB / 301.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1564, allocations: 43.31 MB / 344.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.71/11.87, allocations: 3.619 GB / 3.955 GB, free: 48.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/11.87, allocations: 81.27 kB / 3.956 GB, free: 48.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07578/11.94, allocations: 36.83 MB / 3.991 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.444e-06/11.94, allocations: 0 / 3.991 GB, free: 12.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.674e-05/11.94, allocations: 15.98 kB / 3.991 GB, free: 12.78 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.001072/11.94, allocations: 0.5909 MB / 3.992 GB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/11.94, allocations: 12.03 kB / 3.992 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/11.95, allocations: 67.41 kB / 3.992 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/11.95, allocations: 363.5 kB / 3.992 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/11.95, allocations: 20.55 kB / 3.993 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/11.95, allocations: 24 kB / 3.993 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/11.95, allocations: 355.6 kB / 3.993 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/11.95, allocations: 0 / 3.993 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/11.95, allocations: 16 kB / 3.993 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/11.95, allocations: 12.44 kB / 3.993 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/11.95, allocations: 257.6 kB / 3.993 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/11.95, allocations: 1.205 MB / 3.994 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/11.95, allocations: 275.9 kB / 3.995 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/11.95, allocations: 142.2 kB / 3.995 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/11.95, allocations: 14.56 kB / 3.995 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/11.95, allocations: 42.73 kB / 3.995 GB, free: 9.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/11.95, allocations: 3.938 kB / 3.995 GB, free: 9.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008018/11.95, allocations: 397.2 kB / 3.995 GB, free: 8.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/11.95, allocations: 85.09 kB / 3.995 GB, free: 8.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/11.95, allocations: 291.6 kB / 3.996 GB, free: 8.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/11.95, allocations: 29.7 kB / 3.996 GB, free: 8.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/11.95, allocations: 192.5 kB / 3.996 GB, free: 8.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/11.95, allocations: 94.55 kB / 3.996 GB, free: 8.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/11.95, allocations: 8 kB / 3.996 GB, free: 8.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/11.95, allocations: 342.8 kB / 3.996 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/11.95, allocations: 92.55 kB / 3.996 GB, free: 7.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/11.95, allocations: 147.1 kB / 3.996 GB, free: 7.438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/11.95, allocations: 110.7 kB / 3.996 GB, free: 7.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/11.95, allocations: 0 / 3.996 GB, free: 7.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006995/11.95, allocations: 426.8 kB / 3.997 GB, free: 6.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/11.95, allocations: 4 kB / 3.997 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/11.95, allocations: 4 kB / 3.997 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004821/11.95, allocations: 137.8 kB / 3.997 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/11.95, allocations: 47.97 kB / 3.997 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/11.96, allocations: 3.253 MB / 4 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/11.96, allocations: 35.72 kB / 4 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/11.96, allocations: 20.41 kB / 4 GB, free: 3.133 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 () * 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 9.258e-05/11.96, allocations: 117.2 kB / 4 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/11.96, allocations: 39.59 kB / 4 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/11.96, allocations: 54.95 kB / 4.001 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/11.96, allocations: 4 kB / 4.001 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/11.96, allocations: 0 / 4.001 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/11.96, allocations: 0 / 4.001 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/11.96, allocations: 0.5966 MB / 4.001 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/11.96, allocations: 0 / 4.001 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/11.96, allocations: 40 kB / 4.001 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000327/11.96, allocations: 133.6 kB / 4.001 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/11.96, allocations: 11.98 kB / 4.001 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3717/12.33, allocations: 3.238 MB / 4.004 GB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/12.33, allocations: 2.75 kB / 4.004 GB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/12.33, allocations: 0.5165 MB / 4.005 GB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/12.33, allocations: 145.6 kB / 4.005 GB, free: 96.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/12.33, allocations: 9.578 kB / 4.005 GB, free: 96.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/12.33, allocations: 19.52 kB / 4.005 GB, free: 96.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/12.33, allocations: 33.02 kB / 4.005 GB, free: 96.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/12.33, allocations: 5.344 kB / 4.005 GB, free: 96.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003021/12.33, allocations: 239.1 kB / 4.005 GB, free: 96.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/12.33, allocations: 0 / 4.005 GB, free: 96.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007378/12.33, allocations: 141.8 kB / 4.006 GB, free: 96.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 (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.0009981/12.33, allocations: 0.6034 MB / 4.006 GB, free: 96.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007581/12.33, allocations: 0.5108 MB / 4.007 GB, free: 95.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/12.33, allocations: 0 / 4.007 GB, free: 95.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/12.33, allocations: 413.9 kB / 4.007 GB, free: 95.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/12.33, allocations: 71.62 kB / 4.007 GB, free: 95.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/12.34, allocations: 0.4924 MB / 4.008 GB, free: 95.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/12.34, allocations: 0.8386 MB / 4.008 GB, free: 94.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/12.34, allocations: 47.69 kB / 4.008 GB, free: 94.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/12.34, allocations: 23.81 kB / 4.008 GB, free: 94.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.734e-06/12.34, allocations: 0 / 4.008 GB, free: 94.75 MB / 394.7 MB Notification: Performance of Templates: time 0.02435/12.36, allocations: 15.02 MB / 4.023 GB, free: 94.07 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