Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Noise): time 1.754/1.754, allocations: 174.4 MB / 186.6 MB, free: 9.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.588e-05/4.617e-05, allocations: 4 kB / 229 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2853, allocations: 39.39 MB / 268.3 MB, free: 5.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4116, allocations: 68.15 MB / 336.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.412, allocations: 83.94 kB / 336.6 MB, free: 1.551 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.04865/0.4607, allocations: 11.58 MB / 348.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4607, allocations: 0 / 348.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.4607, allocations: 12 kB / 348.2 MB, free: 5.812 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001391/0.4621, allocations: 0.6158 MB / 348.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4622, allocations: 12.03 kB / 348.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.668e-05/0.4623, allocations: 46.55 kB / 348.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.4634, allocations: 115.5 kB / 349 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.4638, allocations: 248.2 kB / 349.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.4639, allocations: 19.92 kB / 349.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.4639, allocations: 24 kB / 349.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.4646, allocations: 306.8 kB / 349.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4647, allocations: 4 kB / 349.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.4647, allocations: 4 kB / 349.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4647, allocations: 7.938 kB / 349.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.4651, allocations: 127.8 kB / 349.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000802/0.4659, allocations: 494.6 kB / 350.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.4668, allocations: 415.5 kB / 350.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.4672, allocations: 191.3 kB / 350.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.4672, allocations: 7.938 kB / 350.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.468, allocations: 384.4 kB / 351.1 MB, free: 2.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 4.348e-06/0.468, allocations: 0 / 351.1 MB, free: 2.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.001458/0.4695, allocations: 0.5047 MB / 351.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002442/0.4698, allocations: 386.2 kB / 352 MB, free: 1.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.4702, allocations: 274.6 kB / 352.3 MB, free: 1.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.4704, allocations: 85.66 kB / 352.4 MB, free: 1.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.4706, allocations: 153.1 kB / 352.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.4708, allocations: 142.3 kB / 352.7 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.4709, allocations: 8 kB / 352.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4711, allocations: 358.8 kB / 353 MB, free: 440 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.4717, allocations: 217.5 kB / 353.2 MB, free: 220 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.4724, allocations: 312.4 kB / 353.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.4731, allocations: 251.9 kB / 353.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.4732, allocations: 0 / 353.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001781/0.4749, allocations: 0.6372 MB / 354.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.475, allocations: 13.08 kB / 354.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/0.475, allocations: 12.19 kB / 354.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.4751, allocations: 8 kB / 354.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.4756, allocations: 60.17 kB / 354.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.4756, allocations: 7.938 kB / 354.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.476, allocations: 71.42 kB / 354.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/0.4762, allocations: 31.98 kB / 354.6 MB, free: 14.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 84 ($whenCondition6,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,manualSeed3.localSeed,$whenCondition5,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,manualSeed2.localSeed,$whenCondition4,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,manualSeed1.localSeed,$whenCondition3,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,automaticSeed3.localSeed,$whenCondition2,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,automaticSeed2.localSeed,$whenCondition1,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,automaticSeed1.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 60 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0002992/0.4765, allocations: 180.8 kB / 354.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4766, allocations: 47.47 kB / 354.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.591e-05/0.4767, allocations: 34.02 kB / 354.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.4767, allocations: 12 kB / 354.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4768, allocations: 4 kB / 354.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4768, allocations: 3.984 kB / 354.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.4774, allocations: 353.1 kB / 355.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.4774, allocations: 4 kB / 355.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.4776, allocations: 35.91 kB / 355.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.4777, allocations: 4 kB / 355.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.4777, allocations: 19.94 kB / 355.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.4778, allocations: 11.98 kB / 355.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4778, allocations: 0 / 355.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.4792, allocations: 0.7253 MB / 356 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.4793, allocations: 116.6 kB / 356.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4795, allocations: 39.95 kB / 356.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.4798, allocations: 35.94 kB / 356.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.48, allocations: 47.81 kB / 356.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.48, allocations: 31.97 kB / 356.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003246/0.4804, allocations: 202.2 kB / 356.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4804, allocations: 0 / 356.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007038/0.4811, allocations: 127.8 kB / 356.6 MB, free: 12.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 48 (manualSeed3.localSeed,$whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,manualSeed2.localSeed,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,manualSeed1.localSeed,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,automaticSeed3.localSeed,$whenCondition3,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,automaticSeed2.localSeed,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,automaticSeed1.localSeed,$whenCondition1,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw) * Number of discrete states: 24 (automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.002547/0.4837, allocations: 2.151 MB / 358.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.4852, allocations: 0.6281 MB / 359.4 MB, free: 9.668 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4852, allocations: 4 kB / 359.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.4858, allocations: 187.8 kB / 359.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.4861, allocations: 24.62 kB / 359.6 MB, free: 9.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.4879, allocations: 0.5821 MB / 360.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.4884, allocations: 0.7965 MB / 361 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.4886, allocations: 42.95 kB / 361 MB, free: 7.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.4888, allocations: 103.4 kB / 361.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4889, allocations: 0 / 361.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07248/0.5613, allocations: 7.842 MB / 369 MB, free: 64 kB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3386/0.9001, allocations: 168.5 kB / 369.2 MB, free: 94.67 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_AutomaticSeed.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_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_AutomaticSeed_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_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_AutomaticSeed_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_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_AutomaticSeed_functions.o' failed make: *** [Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.o] Error 1