Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Noise): time 1.951/1.951, allocations: 174.4 MB / 186.6 MB, free: 9.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.81e-05, allocations: 4 kB / 229 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3005, allocations: 39.39 MB / 268.3 MB, free: 5.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4311, allocations: 69.57 MB / 337.9 MB, free: 228 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.4315, allocations: 79.95 kB / 338 MB, free: 148 kB / 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.043/0.4745, allocations: 9.178 MB / 347.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4746, allocations: 0 / 347.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.4746, allocations: 4 kB / 347.2 MB, free: 6.891 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001091/0.4757, allocations: 0.4983 MB / 347.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4757, allocations: 11.97 kB / 347.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.867e-05/0.4758, allocations: 42.55 kB / 347.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.4761, allocations: 31.78 kB / 347.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.4764, allocations: 199.3 kB / 348 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.4764, allocations: 3.953 kB / 348 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.4765, allocations: 15.94 kB / 348 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.4768, allocations: 137.8 kB / 348.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4768, allocations: 0 / 348.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.4769, allocations: 0 / 348.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.4769, allocations: 4 kB / 348.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.4771, allocations: 43.92 kB / 348.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.4775, allocations: 281 kB / 348.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.4779, allocations: 166.4 kB / 348.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.478, allocations: 68.45 kB / 348.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4781, allocations: 0 / 348.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.4784, allocations: 161.8 kB / 348.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.454e-06/0.4784, allocations: 4 kB / 348.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006138/0.4791, allocations: 193.7 kB / 349 MB, free: 4.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.4792, allocations: 174.1 kB / 349.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.4795, allocations: 173.8 kB / 349.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.4796, allocations: 41.69 kB / 349.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4797, allocations: 116.2 kB / 349.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/0.4798, allocations: 47.44 kB / 349.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.4798, allocations: 4 kB / 349.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.48, allocations: 330.8 kB / 349.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.4803, allocations: 67.98 kB / 349.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.4806, allocations: 120.2 kB / 350.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.4809, allocations: 87.89 kB / 350.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4809, allocations: 3.953 kB / 350.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007297/0.4816, allocations: 249.2 kB / 350.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4817, allocations: 4 kB / 350.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.4817, allocations: 4 kB / 350.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4817, allocations: 0 / 350.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.482, allocations: 32.02 kB / 350.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.482, allocations: 0 / 350.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.4822, allocations: 19.89 kB / 350.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.4823, allocations: 16 kB / 350.5 MB, free: 3.242 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 29 (n,$whenCondition2,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,truncatedNormalNoise.localSeed,$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 (25): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001846/0.4824, allocations: 136 kB / 350.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4825, allocations: 19.77 kB / 350.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.4826, allocations: 25.52 kB / 350.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4826, allocations: 0 / 350.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4826, allocations: 7.938 kB / 350.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4826, allocations: 0 / 350.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.483, allocations: 225.5 kB / 350.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.483, allocations: 0 / 350.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.4831, allocations: 19.94 kB / 350.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4831, allocations: 0 / 350.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.4832, allocations: 4 kB / 350.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.4832, allocations: 4 kB / 350.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4832, allocations: 4 kB / 350.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.4838, allocations: 299 kB / 351.2 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.4839, allocations: 96.91 kB / 351.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.484, allocations: 15.92 kB / 351.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4842, allocations: 16 kB / 351.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.4843, allocations: 11.97 kB / 351.3 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.4843, allocations: 8 kB / 351.3 MB, free: 2.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.4845, allocations: 140.6 kB / 351.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4845, allocations: 0 / 351.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008939/0.4854, allocations: 155.7 kB / 351.6 MB, free: 1.945 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (n,truncatedNormalNoise.localSeed,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002425/0.4879, allocations: 1.365 MB / 353 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.4886, allocations: 219.3 kB / 353.2 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.4886, allocations: 4.188 kB / 353.2 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.4888, allocations: 59.94 kB / 353.3 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.489, allocations: 19.05 kB / 353.3 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.4903, allocations: 343.2 kB / 353.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.4908, allocations: 0.7208 MB / 354.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.4909, allocations: 21.19 kB / 354.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.491, allocations: 43.42 kB / 354.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/0.491, allocations: 0 / 354.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.5267, allocations: 5.378 MB / 359.8 MB, free: 9.707 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003506/0.5272, allocations: 172.6 kB / 360 MB, free: 9.473 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_Distributions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.o' failed make: *** [Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.o] Error 1