Running command: "" <> buildModelFMU(FCSys.Characteristics.Examples.HydrationLevel,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_HydrationLevel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(FCSys): time 2.085/2.085, allocations: 188.8 MB / 201 MB, free: 8.641 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.194e-05, allocations: 5.906 kB / 247.3 MB, free: 5.785 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 43.32 MB / 290.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.07/11.17, allocations: 3.629 GB / 3.913 GB, free: 26.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/11.17, allocations: 82.52 kB / 3.913 GB, free: 26.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5062/11.68, allocations: 60.22 MB / 3.972 GB, free: 118.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.195e-06/11.68, allocations: 0 / 3.972 GB, free: 118.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/11.68, allocations: 3.375 kB / 3.972 GB, free: 118.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001079/11.68, allocations: 0.4972 MB / 3.972 GB, free: 118.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/11.68, allocations: 9.375 kB / 3.972 GB, free: 118.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.098e-05/11.68, allocations: 34.12 kB / 3.972 GB, free: 118 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/11.69, allocations: 1.312 MB / 3.974 GB, free: 118 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/11.69, allocations: 185.6 kB / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/11.69, allocations: 2.875 kB / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/11.69, allocations: 4.312 kB / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/11.69, allocations: 152.5 kB / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/11.69, allocations: 3.938 kB / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/11.69, allocations: 0 / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/11.69, allocations: 3.844 kB / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/11.69, allocations: 94.09 kB / 3.974 GB, free: 117.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/11.7, allocations: 0.5006 MB / 3.975 GB, free: 117.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/11.7, allocations: 223.6 kB / 3.975 GB, free: 117.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/11.7, allocations: 81.38 kB / 3.975 GB, free: 117.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/11.7, allocations: 0 / 3.975 GB, free: 117.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/11.7, allocations: 34.5 kB / 3.975 GB, free: 117.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/11.7, allocations: 0 / 3.975 GB, free: 117.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006804/11.7, allocations: 199.4 kB / 3.975 GB, free: 117.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/11.7, allocations: 51.41 kB / 3.975 GB, free: 117.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/11.7, allocations: 157.8 kB / 3.975 GB, free: 117.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/11.7, allocations: 28.95 kB / 3.975 GB, free: 117.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/11.7, allocations: 99.06 kB / 3.975 GB, free: 117.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/11.7, allocations: 11.69 kB / 3.975 GB, free: 117.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/11.7, allocations: 0 / 3.975 GB, free: 117.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/11.7, allocations: 325.6 kB / 3.976 GB, free: 116.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/11.7, allocations: 74.86 kB / 3.976 GB, free: 116.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/11.7, allocations: 67.92 kB / 3.976 GB, free: 116.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/11.7, allocations: 65.55 kB / 3.976 GB, free: 116.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/11.7, allocations: 0 / 3.976 GB, free: 116.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006269/11.7, allocations: 189.9 kB / 3.976 GB, free: 116.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/11.7, allocations: 3.875 kB / 3.976 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/11.7, allocations: 0 / 3.976 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/11.7, allocations: 3.953 kB / 3.976 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009018/11.71, allocations: 0.5555 MB / 3.977 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/11.71, allocations: 1.005 MB / 3.978 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/11.71, allocations: 29.52 kB / 3.978 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/11.71, allocations: 15.64 kB / 3.978 GB, free: 116.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/11.71, allocations: 101 kB / 3.978 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/11.71, allocations: 18.14 kB / 3.978 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/11.71, allocations: 442.9 kB / 3.978 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/11.71, allocations: 3.469 kB / 3.978 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/11.71, allocations: 0 / 3.978 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/11.71, allocations: 0 / 3.978 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/11.72, allocations: 0.7852 MB / 3.979 GB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/11.72, allocations: 0 / 3.979 GB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/11.72, allocations: 19.27 kB / 3.979 GB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007939/11.73, allocations: 0.6076 MB / 3.98 GB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/11.73, allocations: 12.5 kB / 3.98 GB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/11.73, allocations: 0.962 MB / 3.981 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/11.73, allocations: 7.781 kB / 3.981 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/11.73, allocations: 480.5 kB / 3.981 GB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/11.73, allocations: 137.1 kB / 3.981 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/11.73, allocations: 11.22 kB / 3.981 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/11.73, allocations: 26.11 kB / 3.981 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/11.73, allocations: 13.98 kB / 3.981 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/11.73, allocations: 10.73 kB / 3.981 GB, free: 114.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001826/11.73, allocations: 136.2 kB / 3.981 GB, free: 114.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/11.73, allocations: 0 / 3.981 GB, free: 114.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000908/11.73, allocations: 125.3 kB / 3.981 GB, free: 114.4 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003693/11.74, allocations: 1.749 MB / 3.983 GB, free: 113.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01151/11.75, allocations: 0.8377 MB / 3.984 GB, free: 113.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/11.75, allocations: 0 / 3.984 GB, free: 113.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/11.75, allocations: 302.4 kB / 3.984 GB, free: 113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/11.75, allocations: 33.44 kB / 3.984 GB, free: 113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/11.75, allocations: 312 kB / 3.985 GB, free: 112.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/11.75, allocations: 0.7128 MB / 3.985 GB, free: 112 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/11.75, allocations: 20.28 kB / 3.985 GB, free: 112 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/11.75, allocations: 36.02 kB / 3.985 GB, free: 112 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/11.75, allocations: 0 / 3.985 GB, free: 112 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/11.81, allocations: 17.25 MB / 4.002 GB, free: 96.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/11.81, allocations: 171.9 kB / 4.002 GB, free: 96.23 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o FCSys_FCSys_Characteristics_Examples_HydrationLevel.o FCSys_FCSys_Characteristics_Examples_HydrationLevel.c In file included from FCSys_FCSys_Characteristics_Examples_HydrationLevel.c:7: In file included from ./FCSys_FCSys_Characteristics_Examples_HydrationLevel_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_HydrationLevel.c:89:58: error: use of undeclared identifier '_omcQuot_625F765B312C315D' array_alloc_scalar_real_array(&tmp0, 1, (modelica_real)_omcQuot_625F765B312C315D); ^ 2 warnings and 1 error generated. : recipe for target 'FCSys_FCSys_Characteristics_Examples_HydrationLevel.o' failed make: *** [FCSys_FCSys_Characteristics_Examples_HydrationLevel.o] Error 1