Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Noise): time 1.901/1.901, allocations: 174.4 MB / 186.6 MB, free: 9.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.435e-05/4.444e-05, allocations: 4 kB / 229 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2658, allocations: 39.39 MB / 268.4 MB, free: 5.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.3969, allocations: 70.38 MB / 338.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.3972, allocations: 79.95 kB / 338.8 MB, free: 15.31 MB / 298.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.03592/0.4332, allocations: 7.927 MB / 346.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4332, allocations: 0 / 346.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.4332, allocations: 4 kB / 346.7 MB, free: 7.32 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001694/0.4349, allocations: 0.5553 MB / 347.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.435, allocations: 8.031 kB / 347.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.4351, allocations: 50.55 kB / 347.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.4355, allocations: 31.8 kB / 347.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.4361, allocations: 238.6 kB / 347.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.4361, allocations: 16.27 kB / 347.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.456e-05/0.4362, allocations: 23.95 kB / 347.7 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.4369, allocations: 191.8 kB / 347.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4369, allocations: 3.938 kB / 347.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.437, allocations: 8 kB / 347.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.437, allocations: 4 kB / 347.9 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.4375, allocations: 99.97 kB / 348 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.4395, allocations: 0.6524 MB / 348.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.4409, allocations: 251.6 kB / 348.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.4412, allocations: 89.88 kB / 348.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4413, allocations: 4 kB / 348.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.4418, allocations: 160.9 kB / 349.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 4.108e-06/0.4418, allocations: 4 kB / 349.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008677/0.4427, allocations: 209.1 kB / 349.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.4428, allocations: 81.3 kB / 349.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.4432, allocations: 191 kB / 349.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.4433, allocations: 37.7 kB / 349.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.4435, allocations: 128.6 kB / 349.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.4436, allocations: 70.92 kB / 349.8 MB, free: 4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.4437, allocations: 4 kB / 349.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4439, allocations: 338.8 kB / 350.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.4443, allocations: 83.98 kB / 350.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.4447, allocations: 110 kB / 350.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.4451, allocations: 96.05 kB / 350.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4451, allocations: 0 / 350.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001087/0.4462, allocations: 270.5 kB / 350.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.4463, allocations: 7.953 kB / 350.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.4463, allocations: 8.031 kB / 350.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4464, allocations: 0 / 350.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.4472, allocations: 75.88 kB / 350.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.4472, allocations: 4 kB / 350.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.4477, allocations: 51.61 kB / 350.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.4478, allocations: 15.98 kB / 350.9 MB, free: 2.938 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,noise.localSeed,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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.0002258/0.4481, allocations: 116.9 kB / 351 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.4482, allocations: 23.72 kB / 351 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.4483, allocations: 29.59 kB / 351 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4483, allocations: 4 kB / 351 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4483, allocations: 0 / 351 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.4484, allocations: 4 kB / 351 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.4503, allocations: 0.5874 MB / 351.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4503, allocations: 0 / 351.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006939/0.451, allocations: 55.97 kB / 351.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.451, allocations: 0 / 351.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.4511, allocations: 7.984 kB / 351.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4511, allocations: 0 / 351.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4511, allocations: 0 / 351.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4524, allocations: 422.2 kB / 352.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4525, allocations: 96.77 kB / 352.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/0.4526, allocations: 16.05 kB / 352.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.4531, allocations: 35.97 kB / 352.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-05/0.4532, allocations: 15.92 kB / 352.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.4533, allocations: 11.94 kB / 352.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002771/0.4536, allocations: 153.5 kB / 352.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4536, allocations: 0 / 352.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001065/0.4547, allocations: 131.9 kB / 352.5 MB, free: 1.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 8 (noise.localSeed,$whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.002858/0.4576, allocations: 1.195 MB / 353.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008907/0.4585, allocations: 234 kB / 354 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4585, allocations: 0 / 354 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.4589, allocations: 83.92 kB / 354 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.4594, allocations: 24.11 kB / 354.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4611, allocations: 447.9 kB / 354.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.4616, allocations: 0.7438 MB / 355.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.4619, allocations: 34 kB / 355.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.4622, allocations: 67.41 kB / 355.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4622, allocations: 0 / 355.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06259/0.5248, allocations: 5.843 MB / 361.2 MB, free: 8.457 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/0.5253, allocations: 188.9 kB / 361.4 MB, free: 8.219 MB / 314.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_NormalNoiseProperties.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_functions.o' failed make: *** [Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.o] Error 1