Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Noise): time 1.746/1.746, allocations: 174.4 MB / 186.6 MB, free: 9.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.34e-05, allocations: 0 / 229 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2772, allocations: 39.39 MB / 268.3 MB, free: 5.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.3991, allocations: 68.03 MB / 336.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.3995, allocations: 75.95 kB / 336.4 MB, free: 1.684 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.4245, allocations: 4.775 MB / 341.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4246, allocations: 4 kB / 341.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4246, allocations: 0 / 341.2 MB, free: 12.86 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000741/0.4253, allocations: 386.6 kB / 341.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.4254, allocations: 12.03 kB / 341.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.555e-05/0.4255, allocations: 30.56 kB / 341.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.4258, allocations: 19.89 kB / 341.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.4261, allocations: 190 kB / 341.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4261, allocations: 8 kB / 341.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.4262, allocations: 3.953 kB / 341.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.4264, allocations: 75.39 kB / 341.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4265, allocations: 0 / 341.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.4265, allocations: 0 / 341.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4265, allocations: 0 / 341.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4266, allocations: 23.92 kB / 342 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.427, allocations: 210.4 kB / 342.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.4272, allocations: 65.14 kB / 342.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4273, allocations: 29.84 kB / 342.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.4274, allocations: 3.953 kB / 342.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.4277, allocations: 105 kB / 342.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.4277, allocations: 0 / 342.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004245/0.4281, allocations: 109.5 kB / 342.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.4282, allocations: 85.09 kB / 342.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.4284, allocations: 121.3 kB / 342.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.4285, allocations: 37.7 kB / 342.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.4286, allocations: 92.31 kB / 342.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.4287, allocations: 23.89 kB / 342.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.4287, allocations: 8.031 kB / 342.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4289, allocations: 318.8 kB / 343.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4291, allocations: 35.98 kB / 343.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.4292, allocations: 53.7 kB / 343.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4294, allocations: 43.98 kB / 343.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4294, allocations: 0 / 343.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004735/0.4299, allocations: 141.4 kB / 343.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.43, allocations: 8.031 kB / 343.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.43, allocations: 4 kB / 343.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.43, allocations: 48 / 343.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.4302, allocations: 19.97 kB / 343.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4303, allocations: 0 / 343.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4304, allocations: 8 kB / 343.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4304, allocations: 4 kB / 343.5 MB, free: 10.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001591/0.4306, allocations: 120.9 kB / 343.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.4307, allocations: 19.78 kB / 343.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.4307, allocations: 4.625 kB / 343.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.4307, allocations: 4 kB / 343.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4307, allocations: 0 / 343.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4308, allocations: 0 / 343.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.4311, allocations: 189.5 kB / 343.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4311, allocations: 0 / 343.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.4312, allocations: 8 kB / 343.8 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.4312, allocations: 0 / 343.8 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.4312, allocations: 7.953 kB / 343.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4312, allocations: 0 / 343.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4312, allocations: 4 kB / 343.8 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.4316, allocations: 151.5 kB / 343.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.4317, allocations: 85.02 kB / 344 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.4318, allocations: 15.88 kB / 344 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.4319, allocations: 8 kB / 344.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.432, allocations: 7.984 kB / 344.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.432, allocations: 4 kB / 344.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.4322, allocations: 108.7 kB / 344.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.4322, allocations: 0 / 344.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006189/0.4328, allocations: 51.94 kB / 344.2 MB, free: 9.484 MB / 298.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: 8 (uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 4 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001328/0.4342, allocations: 0.8517 MB / 345.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.4346, allocations: 109.6 kB / 345.2 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4346, allocations: 0 / 345.2 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4348, allocations: 28 kB / 345.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.435, allocations: 4 kB / 345.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.4358, allocations: 183.8 kB / 345.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.4362, allocations: 0.6967 MB / 346.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.476e-05/0.4363, allocations: 11.98 kB / 346.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.4364, allocations: 27.42 kB / 346.1 MB, free: 7.496 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4364, allocations: 0 / 346.1 MB, free: 7.496 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05239/0.4888, allocations: 2.823 MB / 349 MB, free: 4.727 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.4892, allocations: 159.4 kB / 349.1 MB, free: 4.508 MB / 298.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/Modelica_Noise 1.0 Beta.1/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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/Modelica_Noise 1.0 Beta.1/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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 Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Resources/Include/ModelicaRandom.c:128:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.o' failed make: *** [Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.o] Error 1