Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Noise): time 1.83/1.83, allocations: 174.4 MB / 186.6 MB, free: 9.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.646e-05/4.632e-05, allocations: 4 kB / 229 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2686, allocations: 39.38 MB / 268.3 MB, free: 5.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.392, allocations: 66.74 MB / 335.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3924, allocations: 75.95 kB / 335.2 MB, free: 2.984 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. Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.4035, allocations: 2.654 MB / 337.8 MB, free: 312 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4035, allocations: 0 / 337.8 MB, free: 312 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.4035, allocations: 4 kB / 337.8 MB, free: 308 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004743/0.404, allocations: 350.3 kB / 338.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4041, allocations: 12.03 kB / 338.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.4041, allocations: 30.56 kB / 338.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.4042, allocations: 0 / 338.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.4044, allocations: 163.1 kB / 338.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.4044, allocations: 4 kB / 338.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.4044, allocations: 3.953 kB / 338.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.4045, allocations: 37.69 kB / 338.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4045, allocations: 0 / 338.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4046, allocations: 0 / 338.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4046, allocations: 3.938 kB / 338.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.4046, allocations: 4 kB / 338.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.4048, allocations: 153.7 kB / 338.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.4048, allocations: 14.58 kB / 338.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.4049, allocations: 16.86 kB / 338.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.4049, allocations: 7.938 kB / 338.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.405, allocations: 43.42 kB / 338.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.405, allocations: 3.938 kB / 338.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.4052, allocations: 53.53 kB / 338.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4053, allocations: 51.41 kB / 338.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4054, allocations: 101 kB / 338.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4055, allocations: 33.73 kB / 338.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.4055, allocations: 84.14 kB / 339 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.4055, allocations: 0 / 339 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.4056, allocations: 0 / 339 MB, free: 14.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4057, allocations: 310.8 kB / 339.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.4057, allocations: 4 kB / 339.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.4058, allocations: 13.72 kB / 339.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.4058, allocations: 12.05 kB / 339.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4058, allocations: 0 / 339.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.562e-05/0.4059, allocations: 41.55 kB / 339.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.406, allocations: 13.05 kB / 339.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.406, allocations: 0 / 339.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.406, allocations: 0 / 339.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.4061, allocations: 4.25 kB / 339.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4061, allocations: 0 / 339.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.4061, allocations: 7.984 kB / 339.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4061, allocations: 4.062 kB / 339.4 MB, free: 14.52 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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.768e-05/0.4062, allocations: 109 kB / 339.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.4063, allocations: 0 / 339.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.4063, allocations: 11.56 kB / 339.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4063, allocations: 4 kB / 339.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4063, allocations: 0 / 339.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4063, allocations: 0 / 339.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4065, allocations: 153.7 kB / 339.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.4065, allocations: 0 / 339.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-06/0.4065, allocations: 11.92 kB / 339.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4066, allocations: 0 / 339.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4066, allocations: 0 / 339.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.4066, allocations: 7.953 kB / 339.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4066, allocations: 3.938 kB / 339.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.4067, allocations: 65.12 kB / 339.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.4068, allocations: 81.02 kB / 339.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.4068, allocations: 0 / 339.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.4069, allocations: 8.031 kB / 339.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.4069, allocations: 7.938 kB / 339.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.4069, allocations: 3.984 kB / 339.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.407, allocations: 87.28 kB / 339.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.407, allocations: 0 / 339.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.4074, allocations: 31.94 kB / 339.9 MB, free: 13.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007944/0.4082, allocations: 0.6653 MB / 340.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.4083, allocations: 12 kB / 340.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4083, allocations: 4.156 kB / 340.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.4084, allocations: 11.92 kB / 340.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.4085, allocations: 5.203 kB / 340.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.4089, allocations: 102.6 kB / 340.7 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.4093, allocations: 0.6809 MB / 341.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.594e-05/0.4093, allocations: 7.984 kB / 341.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.4094, allocations: 11.44 kB / 341.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4094, allocations: 0 / 341.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.4302, allocations: 1.818 MB / 343.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/0.4306, allocations: 169.2 kB / 343.4 MB, free: 10.3 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_ImpureGenerator.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_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_ImpureGenerator_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_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_ImpureGenerator_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_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_ImpureGenerator_functions.o' failed make: *** [Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.o] Error 1