Running command: translateModel(FCSys.Conditions.Examples.Stoichiometry,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Conditions.Examples.Stoichiometry") Notification: Performance of loadModel(FCSys): time 1.684/1.684, allocations: 188.8 MB / 201 MB, free: 8.641 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.575e-05, allocations: 3.656 kB / 247.2 MB, free: 5.883 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07181/0.07187, allocations: 43.32 MB / 290.5 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.177/8.249, allocations: 3.619 GB / 3.902 GB, free: 4.375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/8.249, allocations: 82.27 kB / 3.902 GB, free: 4.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3239/8.573, allocations: 36.79 MB / 3.938 GB, free: 132.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.486e-06/8.573, allocations: 4 kB / 3.938 GB, free: 132.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.255e-05/8.573, allocations: 12 kB / 3.938 GB, free: 132.5 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.0009705/8.574, allocations: 0.5891 MB / 3.939 GB, free: 131.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/8.574, allocations: 8.031 kB / 3.939 GB, free: 131.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/8.575, allocations: 71.41 kB / 3.939 GB, free: 131.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/8.575, allocations: 359.6 kB / 3.939 GB, free: 131.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/8.575, allocations: 20.56 kB / 3.939 GB, free: 131.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/8.575, allocations: 24 kB / 3.939 GB, free: 131.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/8.576, allocations: 346.5 kB / 3.94 GB, free: 131 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/8.576, allocations: 0 / 3.94 GB, free: 131 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/8.576, allocations: 15.95 kB / 3.94 GB, free: 131 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/8.576, allocations: 20.42 kB / 3.94 GB, free: 131 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/8.577, allocations: 252.8 kB / 3.94 GB, free: 130.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/8.578, allocations: 1.201 MB / 3.941 GB, free: 129.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/8.579, allocations: 277.5 kB / 3.941 GB, free: 129.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/8.58, allocations: 146.1 kB / 3.942 GB, free: 129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/8.58, allocations: 8.219 kB / 3.942 GB, free: 129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/8.58, allocations: 38.8 kB / 3.942 GB, free: 128.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.271e-06/8.58, allocations: 4 kB / 3.942 GB, free: 128.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.00104/8.581, allocations: 393.4 kB / 3.942 GB, free: 128.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/8.581, allocations: 81.11 kB / 3.942 GB, free: 128.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/8.581, allocations: 303.5 kB / 3.942 GB, free: 128.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/8.581, allocations: 29.7 kB / 3.942 GB, free: 128.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/8.581, allocations: 188.5 kB / 3.943 GB, free: 127.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/8.582, allocations: 90.66 kB / 3.943 GB, free: 127.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/8.582, allocations: 8 kB / 3.943 GB, free: 127.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/8.582, allocations: 342.8 kB / 3.943 GB, free: 127.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/8.582, allocations: 92.53 kB / 3.943 GB, free: 127.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/8.582, allocations: 144.2 kB / 3.943 GB, free: 127.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/8.582, allocations: 111.9 kB / 3.943 GB, free: 127.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.941e-06/8.582, allocations: 0 / 3.943 GB, free: 127.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009878/8.583, allocations: 423.8 kB / 3.944 GB, free: 126.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/8.583, allocations: 4 kB / 3.944 GB, free: 126.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.531e-06/8.583, allocations: 4 kB / 3.944 GB, free: 126.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/8.584, allocations: 141.7 kB / 3.944 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/8.584, allocations: 47.95 kB / 3.944 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/8.587, allocations: 3.258 MB / 3.947 GB, free: 123 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/8.588, allocations: 31.77 kB / 3.947 GB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/8.588, allocations: 12 kB / 3.947 GB, free: 122.9 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 0.0001058/8.588, allocations: 121.3 kB / 3.947 GB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/8.588, allocations: 47.58 kB / 3.947 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/8.588, allocations: 44.16 kB / 3.947 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-06/8.588, allocations: 4 kB / 3.947 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/8.588, allocations: 4 kB / 3.947 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.923e-06/8.588, allocations: 0 / 3.947 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009262/8.589, allocations: 0.5889 MB / 3.948 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.756e-06/8.589, allocations: 4 kB / 3.948 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/8.589, allocations: 40 kB / 3.948 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/8.59, allocations: 137.6 kB / 3.948 GB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/8.59, allocations: 11.94 kB / 3.948 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/8.593, allocations: 3.247 MB / 3.951 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.871e-06/8.593, allocations: 0 / 3.951 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/8.594, allocations: 0.5147 MB / 3.952 GB, free: 117.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/8.594, allocations: 152.5 kB / 3.952 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/8.594, allocations: 4 kB / 3.952 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/8.595, allocations: 19.98 kB / 3.952 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/8.595, allocations: 31.95 kB / 3.952 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/8.595, allocations: 4 kB / 3.952 GB, free: 117.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003118/8.595, allocations: 242.2 kB / 3.952 GB, free: 117.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.74e-07/8.595, allocations: 0 / 3.952 GB, free: 117.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007611/8.596, allocations: 151.9 kB / 3.952 GB, free: 117.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.0008704/8.597, allocations: 0.5999 MB / 3.953 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008948/8.598, allocations: 0.4914 MB / 3.953 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/8.598, allocations: 0 / 3.953 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/8.598, allocations: 391.7 kB / 3.954 GB, free: 115.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/8.599, allocations: 69.94 kB / 3.954 GB, free: 115.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/8.6, allocations: 0.5047 MB / 3.954 GB, free: 115.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/8.6, allocations: 0.8383 MB / 3.955 GB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000197/8.6, allocations: 42.95 kB / 3.955 GB, free: 114.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/8.601, allocations: 23.38 kB / 3.955 GB, free: 114.1 MB / 394.7 MB Notification: Performance of SimCode: time 2.923e-06/8.601, allocations: 0 / 3.955 GB, free: 114.1 MB / 394.7 MB Notification: Performance of Templates: time 0.02727/8.628, allocations: 15.01 MB / 3.97 GB, free: 99.12 MB / 394.7 MB make -j1 -f FCSys_FCSys.Conditions.Examples.Stoichiometry.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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. : recipe for target 'FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.o' failed make: *** [FCSys_FCSys.Conditions.Examples.Stoichiometry_functions.o] Error 1