Running command: "" <> buildModelFMU(FCSys.Characteristics.Examples.SurfaceTension,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_SurfaceTension",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(FCSys): time 2.102/2.102, allocations: 188.8 MB / 201 MB, free: 8.641 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.821e-05, allocations: 5.875 kB / 247.3 MB, free: 5.844 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 43.34 MB / 290.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5463/0.6595, allocations: 110.1 MB / 400.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.6599, allocations: 75.28 kB / 400.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1021/0.762, allocations: 20.73 MB / 421.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.762, allocations: 0 / 421.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.7621, allocations: 0 / 421.5 MB, free: 1.723 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008959/0.763, allocations: 430 kB / 421.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.763, allocations: 12.03 kB / 422 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.7631, allocations: 34.47 kB / 422 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0303/0.7934, allocations: 2.6 MB / 424.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.7937, allocations: 162.6 kB / 424.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.7937, allocations: 4 kB / 424.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.7939, allocations: 12.28 kB / 424.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008472/0.7948, allocations: 286.6 kB / 425 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.7948, allocations: 0 / 425 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.7949, allocations: 4 kB / 425 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7949, allocations: 0 / 425 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.7956, allocations: 206 kB / 425.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0447/0.8403, allocations: 3.508 MB / 428.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.8437, allocations: 494.5 kB / 429.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.8443, allocations: 171 kB / 429.4 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.8443, allocations: 4 kB / 429.4 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.8444, allocations: 38.12 kB / 429.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.317e-06/0.8444, allocations: 0 / 429.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.001418/0.8458, allocations: 391.1 kB / 429.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.8459, allocations: 55.39 kB / 429.9 MB, free: 9.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.846, allocations: 96.56 kB / 430 MB, free: 9.395 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.8461, allocations: 25.7 kB / 430 MB, free: 9.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.8461, allocations: 91.55 kB / 430.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.8462, allocations: 27.02 kB / 430.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.8463, allocations: 0 / 430.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8464, allocations: 314.8 kB / 430.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.8469, allocations: 162 kB / 430.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.8474, allocations: 162.2 kB / 430.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.8479, allocations: 143 kB / 430.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8479, allocations: 0 / 430.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001271/0.8492, allocations: 393.5 kB / 431.3 MB, free: 8.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8492, allocations: 4 kB / 431.3 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.8492, allocations: 4 kB / 431.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.8492, allocations: 7.938 kB / 431.3 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1913/1.041, allocations: 10.55 MB / 441.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/1.047, allocations: 1.942 MB / 443.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/1.047, allocations: 43.77 kB / 443.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/1.048, allocations: 39.95 kB / 443.9 MB, free: 11.76 MB / 346.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001848/1.048, allocations: 104.9 kB / 444 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/1.048, allocations: 4 kB / 444 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006779/1.055, allocations: 1.171 MB / 445.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.055, allocations: 4 kB / 445.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.055, allocations: 0 / 445.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.055, allocations: 3.984 kB / 445.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/1.056, allocations: 383.3 kB / 445.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.056, allocations: 3.984 kB / 445.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/1.056, allocations: 35.97 kB / 445.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1088/1.165, allocations: 5.829 MB / 451.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/1.165, allocations: 23.33 kB / 451.4 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007162/1.172, allocations: 1.967 MB / 453.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.172, allocations: 0 / 453.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006301/1.178, allocations: 1.075 MB / 454.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/1.179, allocations: 88.95 kB / 454.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.179, allocations: 7.5 kB / 454.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/1.179, allocations: 47.83 kB / 454.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.179, allocations: 23.91 kB / 454.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.18, allocations: 35.89 kB / 454.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.734e-05/1.18, allocations: 83.28 kB / 454.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.056e-06/1.18, allocations: 0 / 454.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007801/1.181, allocations: 99.39 kB / 454.8 MB, free: 1.055 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * 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 3,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007847/1.188, allocations: 1.986 MB / 456.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2314/1.42, allocations: 10.99 MB / 467.8 MB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.42, allocations: 0 / 467.8 MB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007297/1.427, allocations: 0.6149 MB / 468.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/1.428, allocations: 15.8 kB / 468.4 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/1.43, allocations: 390.3 kB / 468.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/1.43, allocations: 0.7198 MB / 469.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002422/1.43, allocations: 24.91 kB / 469.6 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/1.431, allocations: 37.59 kB / 469.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/1.431, allocations: 0 / 469.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/1.473, allocations: 7.946 MB / 477.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003858/1.474, allocations: 169.9 kB / 477.7 MB, free: 10.62 MB / 378.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_SurfaceTension.o FCSys_FCSys_Characteristics_Examples_SurfaceTension.c In file included from FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:7: In file included from ./FCSys_FCSys_Characteristics_Examples_SurfaceTension_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_SurfaceTension.c:193:78: error: use of undeclared identifier '_omcQuot_625F765B322C335D' array_alloc_scalar_real_array(&tmp6, 4, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B322C335D, (modelica_real)(_omcQuot_625F765B322C325D) * (2.0), (modelica_real)(_omcQuot_625F765B322C315D) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:193:121: error: use of undeclared identifier '_omcQuot_625F765B322C325D' array_alloc_scalar_real_array(&tmp6, 4, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B322C335D, (modelica_real)(_omcQuot_625F765B322C325D) * (2.0), (modelica_real)(_omcQuot_625F765B322C315D) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:193:173: error: use of undeclared identifier '_omcQuot_625F765B322C315D' array_alloc_scalar_real_array(&tmp6, 4, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B322C335D, (modelica_real)(_omcQuot_625F765B322C325D) * (2.0), (modelica_real)(_omcQuot_625F765B322C315D) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:207:78: error: use of undeclared identifier '_omcQuot_625F765B312C325D' array_alloc_scalar_real_array(&tmp7, 3, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B312C325D, (modelica_real)(_omcQuot_625F765B312C315D) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:207:121: error: use of undeclared identifier '_omcQuot_625F765B312C315D' array_alloc_scalar_real_array(&tmp7, 3, (modelica_real)0.0, (modelica_real)_omcQuot_625F765B312C325D, (modelica_real)(_omcQuot_625F765B312C315D) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:311:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp0 = Less(data->localData[0]->realVars[22] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:313:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp2 = Less(data->localData[0]->realVars[22] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ 2 warnings and 7 errors generated. : recipe for target 'FCSys_FCSys_Characteristics_Examples_SurfaceTension.o' failed make: *** [FCSys_FCSys_Characteristics_Examples_SurfaceTension.o] Error 1