Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Noise): time 1.833/1.833, allocations: 174.4 MB / 186.6 MB, free: 9.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.477e-05/4.481e-05, allocations: 3.984 kB / 229 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2683, allocations: 39.39 MB / 268.4 MB, free: 5.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5292/0.7976, allocations: 114.8 MB / 383.1 MB, free: 49.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.7979, allocations: 83.56 kB / 383.2 MB, free: 49.27 MB / 314.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.4073/1.205, allocations: 78.37 MB / 461.6 MB, free: 2.707 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.205, allocations: 0 / 461.6 MB, free: 2.707 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000525/1.206, allocations: 95.86 kB / 461.7 MB, free: 2.613 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.01635/1.222, allocations: 3.251 MB / 464.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/1.222, allocations: 11.98 kB / 464.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002079/1.224, allocations: 450.7 kB / 465.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/1.228, allocations: 451.2 kB / 465.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008173/1.236, allocations: 2.358 MB / 468.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000878/1.237, allocations: 359.3 kB / 468.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/1.238, allocations: 323.8 kB / 468.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/1.253, allocations: 4.052 MB / 472.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/1.253, allocations: 11.91 kB / 472.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006904/1.254, allocations: 131.9 kB / 473 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/1.254, allocations: 150 kB / 473.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/1.267, allocations: 3.441 MB / 476.6 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03985/1.306, allocations: 13.94 MB / 490.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005748/1.312, allocations: 2.073 MB / 492.6 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/1.316, allocations: 1.195 MB / 493.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/1.317, allocations: 155 kB / 494 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003564/1.32, allocations: 1.231 MB / 495.2 MB, free: 260 kB / 346.7 MB Notification: Performance of pre-optimization done (n=191): time 5.841e-06/1.32, allocations: 0 / 495.2 MB, free: 260 kB / 346.7 MB Notification: Performance of matching and sorting (n=242): time 0.04484/1.365, allocations: 11.32 MB / 0.4947 GB, free: 4.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007486/1.373, allocations: 3.53 MB / 0.4981 GB, free: 1.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2597/1.632, allocations: 1.803 MB / 0.4999 GB, free: 71.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007784/1.633, allocations: 81.02 kB / 0.4999 GB, free: 71.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/1.635, allocations: 1.46 MB / 0.5014 GB, free: 71.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.637, allocations: 0.8171 MB / 0.5022 GB, free: 70.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/1.637, allocations: 51.31 kB / 0.5022 GB, free: 70.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/1.637, allocations: 410.3 kB / 0.5026 GB, free: 70.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/1.641, allocations: 1.251 MB / 0.5038 GB, free: 70.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/1.645, allocations: 1.865 MB / 0.5057 GB, free: 69.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.648, allocations: 1.516 MB / 0.5071 GB, free: 69.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/1.649, allocations: 6 kB / 0.5071 GB, free: 69.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01009/1.659, allocations: 3.748 MB / 0.5108 GB, free: 69.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/1.659, allocations: 10.69 kB / 0.5108 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.235e-05/1.659, allocations: 18.8 kB / 0.5108 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/1.661, allocations: 499.4 kB / 0.5113 GB, free: 69.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005399/1.666, allocations: 0.6676 MB / 0.512 GB, free: 69.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007472/1.674, allocations: 4.629 MB / 0.5165 GB, free: 66.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.678, allocations: 196.4 kB / 0.5167 GB, free: 66.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/1.678, allocations: 116 kB / 0.5168 GB, free: 66.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,motor.uniformNoise.localSeed,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 304 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0008002/1.679, allocations: 282.4 kB / 0.517 GB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008522/1.68, allocations: 258 kB / 0.5173 GB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009709/1.69, allocations: 3.53 MB / 0.5207 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/1.69, allocations: 27.41 kB / 0.5208 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.69, allocations: 7.328 kB / 0.5208 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.602e-05/1.69, allocations: 10.83 kB / 0.5208 GB, free: 66.41 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02498/1.715, allocations: 9.171 MB / 0.5297 GB, free: 65.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/1.715, allocations: 3.906 kB / 0.5297 GB, free: 65.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004108/1.719, allocations: 461.6 kB / 0.5302 GB, free: 65.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002814/1.722, allocations: 0.6457 MB / 0.5308 GB, free: 65.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005397/1.722, allocations: 53.11 kB / 0.5309 GB, free: 65.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/1.735, allocations: 7.706 MB / 0.5384 GB, free: 60.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005744/1.741, allocations: 3.268 MB / 0.5416 GB, free: 58.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.754, allocations: 5.363 MB / 0.5468 GB, free: 56.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/1.757, allocations: 0.6342 MB / 0.5474 GB, free: 55.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009217/1.758, allocations: 49.66 kB / 0.5475 GB, free: 55.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.761, allocations: 159 kB / 0.5476 GB, free: 55.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008152/1.762, allocations: 200 kB / 0.5478 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/1.762, allocations: 75.14 kB / 0.5479 GB, free: 55.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003724/1.766, allocations: 1.376 MB / 0.5492 GB, free: 54.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.766, allocations: 0 / 0.5492 GB, free: 54.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005081/1.771, allocations: 0.8396 MB / 0.5501 GB, free: 54.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 13 (motor.uniformNoise.localSeed,$whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01528/1.786, allocations: 6.818 MB / 0.5567 GB, free: 51.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009128/1.796, allocations: 3.515 MB / 0.5602 GB, free: 49.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.796, allocations: 0 / 0.5602 GB, free: 49.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005863/1.802, allocations: 2.15 MB / 0.5623 GB, free: 48.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/1.807, allocations: 0.5611 MB / 0.5628 GB, free: 48.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.831, allocations: 6.694 MB / 0.5693 GB, free: 45.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003854/1.835, allocations: 2.433 MB / 0.5717 GB, free: 43.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003741/1.839, allocations: 0.6009 MB / 0.5723 GB, free: 43.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003518/1.842, allocations: 1.307 MB / 0.5736 GB, free: 41.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/1.842, allocations: 0 / 0.5736 GB, free: 41.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/2.018, allocations: 69.82 MB / 0.6418 GB, free: 1.801 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/2.018, allocations: 206.8 kB / 0.642 GB, free: 1.57 MB / 378.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_ActuatorWithNoise.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_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_ActuatorWithNoise_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_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_ActuatorWithNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_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_ActuatorWithNoise_functions.o' failed make: *** [Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_functions.o] Error 1