Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Noise): time 1.795/1.795, allocations: 174.4 MB / 186.6 MB, free: 9.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.241e-05, allocations: 0 / 228.9 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 39.4 MB / 268.4 MB, free: 5.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.4209, allocations: 69.78 MB / 338.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/0.4214, allocations: 75.89 kB / 338.2 MB, free: 15.91 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.05266/0.474, allocations: 7.633 MB / 345.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4741, allocations: 0 / 345.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.4741, allocations: 4 kB / 345.8 MB, free: 8.227 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001299/0.4755, allocations: 498.2 kB / 346.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.4755, allocations: 11.97 kB / 346.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.075e-05/0.4756, allocations: 42.56 kB / 346.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.476, allocations: 27.8 kB / 346.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.4766, allocations: 246.5 kB / 346.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.4766, allocations: 11.94 kB / 346.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.4767, allocations: 7.953 kB / 346.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.4771, allocations: 119.3 kB / 346.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.4772, allocations: 0 / 346.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.4772, allocations: 0 / 346.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4772, allocations: 7.938 kB / 346.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.4776, allocations: 75.95 kB / 346.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.479, allocations: 0.5085 MB / 347.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.4795, allocations: 129.1 kB / 347.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.4797, allocations: 62.92 kB / 347.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4798, allocations: 0 / 347.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.4802, allocations: 133.1 kB / 347.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.916e-06/0.4802, allocations: 4 kB / 347.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007878/0.481, allocations: 173.5 kB / 347.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.4812, allocations: 89.03 kB / 348 MB, free: 5.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.4816, allocations: 197.9 kB / 348.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.4817, allocations: 33.7 kB / 348.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4818, allocations: 120 kB / 348.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.4819, allocations: 51.52 kB / 348.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.482, allocations: 8.031 kB / 348.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4822, allocations: 330.8 kB / 348.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.4825, allocations: 71.83 kB / 348.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.4828, allocations: 81.69 kB / 348.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.4832, allocations: 78.02 kB / 348.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.4832, allocations: 0 / 348.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000862/0.484, allocations: 222.2 kB / 349.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.4841, allocations: 9.125 kB / 349.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.4841, allocations: 0 / 349.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.4842, allocations: 4 kB / 349.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.4846, allocations: 27.97 kB / 349.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.4846, allocations: 7.953 kB / 349.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.4851, allocations: 19.89 kB / 349.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.4852, allocations: 11.98 kB / 349.2 MB, free: 4.602 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,whiteNoise.localSeed,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001932/0.4854, allocations: 128.8 kB / 349.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.4855, allocations: 15.81 kB / 349.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.4856, allocations: 21.73 kB / 349.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4857, allocations: 11.88 kB / 349.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.4857, allocations: 0 / 349.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4857, allocations: 3.953 kB / 349.4 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.4862, allocations: 245.5 kB / 349.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.4862, allocations: 4 kB / 349.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.4865, allocations: 15.98 kB / 349.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.4865, allocations: 8 kB / 349.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.4866, allocations: 3.984 kB / 349.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.4866, allocations: 4 kB / 349.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4866, allocations: 0 / 349.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4877, allocations: 291.5 kB / 349.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.4878, allocations: 100.9 kB / 350 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.4879, allocations: 12.06 kB / 350 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.4883, allocations: 19.97 kB / 350.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.4885, allocations: 15.94 kB / 350.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.4885, allocations: 4 kB / 350.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003696/0.4889, allocations: 164.2 kB / 350.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.356e-06/0.4889, allocations: 0 / 350.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009651/0.4899, allocations: 115.9 kB / 350.4 MB, free: 3.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 8 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw,whiteNoise.localSeed) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.002775/0.4927, allocations: 1.075 MB / 351.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.4934, allocations: 180.7 kB / 351.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4934, allocations: 0 / 351.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.4937, allocations: 63.92 kB / 351.7 MB, free: 2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.4941, allocations: 24.06 kB / 351.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.4959, allocations: 372.1 kB / 352.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.4964, allocations: 0.7285 MB / 352.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.4967, allocations: 37.17 kB / 352.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.4969, allocations: 43.42 kB / 352.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.497, allocations: 0 / 352.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.5367, allocations: 5.018 MB / 357.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/0.537, allocations: 190.1 kB / 358.1 MB, free: 11.54 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_DrydenContinuousTurbulence.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.o' failed make: *** [Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.o] Error 1