Running command: "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaByExample): time 2.046/2.046, allocations: 203.4 MB / 215.5 MB, free: 12.98 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.619e-05, allocations: 8 kB / 264.7 MB, free: 10.44 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 46.19 MB / 310.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.534, allocations: 70.9 MB / 381.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000154/0.5342, allocations: 45.42 kB / 381.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001904/0.5361, allocations: 0.6433 MB / 382.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5362, allocations: 0 / 382.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.5362, allocations: 0 / 382.5 MB, free: 11.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002273/0.5364, allocations: 319.8 kB / 382.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.5365, allocations: 9.625 kB / 382.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.5366, allocations: 38.12 kB / 382.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.5366, allocations: 4.344 kB / 382.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.114e-05/0.5367, allocations: 170 kB / 383 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.5367, allocations: 1.031 kB / 383 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.5367, allocations: 4.406 kB / 383.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5369, allocations: 34.48 kB / 383.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5369, allocations: 1.594 kB / 383.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.5369, allocations: 4 kB / 383.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.5369, allocations: 3.938 kB / 383.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.537, allocations: 5.953 kB / 383.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.5371, allocations: 154.2 kB / 383.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.5374, allocations: 34.83 kB / 383.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.5374, allocations: 9.922 kB / 383.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5374, allocations: 5.953 kB / 383.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.5375, allocations: 31.53 kB / 383.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.5375, allocations: 0 / 383.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001593/0.5376, allocations: 47.86 kB / 383.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.5377, allocations: 51.41 kB / 383.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.5378, allocations: 90.86 kB / 383.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.5378, allocations: 25.7 kB / 383.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.5378, allocations: 80.27 kB / 383.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.5378, allocations: 16.44 kB / 383.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5379, allocations: 0 / 383.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.5379, allocations: 318.4 kB / 383.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.538, allocations: 11.83 kB / 384 MB, free: 10.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.538, allocations: 13.62 kB / 384 MB, free: 10.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.538, allocations: 10.56 kB / 384 MB, free: 10.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5381, allocations: 0 / 384 MB, free: 10.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.963e-05/0.5382, allocations: 55.27 kB / 384 MB, free: 10.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5382, allocations: 5.406 kB / 384 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.5382, allocations: 7.875 kB / 384.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5382, allocations: 1.25 kB / 384.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.5383, allocations: 11.2 kB / 384.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5383, allocations: 0 / 384.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.5384, allocations: 5.188 kB / 384.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.5384, allocations: 1.594 kB / 384.1 MB, free: 10.27 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE() type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.204e-05/0.5385, allocations: 103.6 kB / 384.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.5385, allocations: 12.12 kB / 384.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.5386, allocations: 44.06 kB / 384.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5387, allocations: 0 / 384.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5387, allocations: 2.719 kB / 384.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5387, allocations: 0 / 384.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/0.5388, allocations: 155.6 kB / 384.4 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5388, allocations: 0 / 384.4 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.5389, allocations: 6.297 kB / 384.4 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5389, allocations: 9.203 kB / 384.4 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.5389, allocations: 0 / 384.4 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.5389, allocations: 8 kB / 384.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5389, allocations: 1.688 kB / 384.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.5391, allocations: 72.38 kB / 384.5 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.5391, allocations: 84.33 kB / 384.6 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.5392, allocations: 3.953 kB / 384.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.5392, allocations: 1.531 kB / 384.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.5392, allocations: 3.594 kB / 384.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-06/0.5392, allocations: 1.062 kB / 384.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.5393, allocations: 81.97 kB / 384.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5393, allocations: 0 / 384.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000256/0.5396, allocations: 7.531 kB / 384.7 MB, free: 9.672 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008684/0.5404, allocations: 0.6438 MB / 385.3 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.5406, allocations: 10.66 kB / 385.3 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5406, allocations: 0 / 385.3 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.5406, allocations: 12.94 kB / 385.3 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.5408, allocations: 5.391 kB / 385.3 MB, free: 25.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5418, allocations: 213 kB / 385.5 MB, free: 24.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.5422, allocations: 0.6761 MB / 386.2 MB, free: 24.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.89e-05/0.5422, allocations: 7.922 kB / 386.2 MB, free: 24.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.5423, allocations: 19.72 kB / 386.2 MB, free: 24.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5423, allocations: 0 / 386.2 MB, free: 24.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.5642, allocations: 1.071 MB / 387.3 MB, free: 23.99 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.5645, allocations: 185.8 kB / 387.5 MB, free: 23.77 MB / 330.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' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaByExample 0.5.0/Functions/Interpolation/source" -c -o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.c In file included from ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.c:7: In file included from ./ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_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); ^ 2 warnings generated. 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' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaByExample 0.5.0/Functions/Interpolation/source" -c -o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.c In file included from ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.c:2: In file included from ./ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./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); ^ In file included from ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.c:7: In file included from ./ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaByExample 0.5.0/Functions/Interpolation/source/VectorTable.c:5:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.o' failed make: *** [ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.o] Error 1