Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.867e-05, allocations: 4 kB / 255.5 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4798/0.5813, allocations: 119.1 MB / 419.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.5817, allocations: 82.77 kB / 419.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3779/0.9596, allocations: 78.74 MB / 497.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.9597, allocations: 4 kB / 497.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004905/0.9602, allocations: 95.81 kB / 498 MB, free: 6.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.01429/0.9745, allocations: 3.271 MB / 0.4895 GB, free: 3.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.9746, allocations: 12.03 kB / 0.4895 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002103/0.9767, allocations: 446.7 kB / 0.49 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.98, allocations: 459.4 kB / 0.4904 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009409/0.9894, allocations: 2.542 MB / 0.4929 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008993/0.9904, allocations: 359.2 kB / 0.4932 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/0.9922, allocations: 315.9 kB / 0.4935 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/1.007, allocations: 4.036 MB / 0.4975 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/1.007, allocations: 7.906 kB / 0.4975 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000951/1.008, allocations: 132 kB / 0.4976 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/1.008, allocations: 138 kB / 0.4977 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/1.021, allocations: 3.448 MB / 0.5011 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3219/1.343, allocations: 13.97 MB / 0.5148 GB, free: 68.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005991/1.349, allocations: 2.054 MB / 0.5168 GB, free: 67.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003874/1.353, allocations: 1.195 MB / 0.5179 GB, free: 67.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/1.354, allocations: 229.4 kB / 0.5181 GB, free: 67.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004211/1.358, allocations: 1.232 MB / 0.5193 GB, free: 67.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 1.083e-05/1.358, allocations: 1.344 kB / 0.5194 GB, free: 67.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=243): time 0.04423/1.402, allocations: 10.93 MB / 0.53 GB, free: 66.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006187/1.409, allocations: 3.535 MB / 0.5335 GB, free: 64.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/1.414, allocations: 1.937 MB / 0.5354 GB, free: 64.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007345/1.415, allocations: 73.17 kB / 0.5354 GB, free: 64.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001801/1.416, allocations: 1.377 MB / 0.5368 GB, free: 63.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.418, allocations: 0.8161 MB / 0.5376 GB, free: 63.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/1.418, allocations: 56.88 kB / 0.5376 GB, free: 63.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/1.419, allocations: 419.9 kB / 0.538 GB, free: 63.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/1.422, allocations: 1.259 MB / 0.5393 GB, free: 63.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/1.427, allocations: 1.877 MB / 0.5411 GB, free: 62.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/1.432, allocations: 1.521 MB / 0.5426 GB, free: 62.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.853e-05/1.432, allocations: 3.594 kB / 0.5426 GB, free: 62.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01617/1.449, allocations: 3.626 MB / 0.5461 GB, free: 62.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/1.449, allocations: 13.47 kB / 0.5461 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.02e-05/1.449, allocations: 17.38 kB / 0.5462 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/1.452, allocations: 0.4906 MB / 0.5466 GB, free: 62.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007845/1.46, allocations: 0.681 MB / 0.5473 GB, free: 62.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.471, allocations: 4.636 MB / 0.5518 GB, free: 59.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005972/1.477, allocations: 202.3 kB / 0.552 GB, free: 59.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009989/1.478, allocations: 115.6 kB / 0.5521 GB, free: 59.6 MB / 394.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: 24 ($whenCondition1,$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,motor.uniformNoise.localSeed,motor.uniformNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 309 * 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.001228/1.479, allocations: 288.9 kB / 0.5524 GB, free: 59.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.481, allocations: 255.4 kB / 0.5527 GB, free: 59.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/1.497, allocations: 3.547 MB / 0.5561 GB, free: 57.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/1.497, allocations: 23.91 kB / 0.5561 GB, free: 57.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/1.497, allocations: 4.688 kB / 0.5561 GB, free: 57.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-05/1.497, allocations: 15.02 kB / 0.5562 GB, free: 57.82 MB / 394.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.03824/1.535, allocations: 9.25 MB / 0.5652 GB, free: 53.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/1.535, allocations: 7.062 kB / 0.5652 GB, free: 53.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006151/1.542, allocations: 462.8 kB / 0.5656 GB, free: 53.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004153/1.546, allocations: 0.6567 MB / 0.5663 GB, free: 53.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007013/1.546, allocations: 54.98 kB / 0.5663 GB, free: 53.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/1.566, allocations: 7.7 MB / 0.5739 GB, free: 47.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008428/1.574, allocations: 3.302 MB / 0.5771 GB, free: 45.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0249/1.599, allocations: 5.347 MB / 0.5823 GB, free: 43.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003341/1.603, allocations: 0.6429 MB / 0.5829 GB, free: 42.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008286/1.611, allocations: 59.39 kB / 0.583 GB, free: 42.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006545/1.618, allocations: 164 kB / 0.5831 GB, free: 42.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/1.619, allocations: 197.5 kB / 0.5833 GB, free: 42.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004549/1.619, allocations: 75.84 kB / 0.5834 GB, free: 42.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005722/1.625, allocations: 1.471 MB / 0.5848 GB, free: 42.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.392e-06/1.625, allocations: 0 / 0.5848 GB, free: 42.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006989/1.632, allocations: 0.8522 MB / 0.5857 GB, free: 42.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 12 ($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 (203): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.02142/1.654, allocations: 6.796 MB / 0.5923 GB, free: 38.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01388/1.668, allocations: 3.522 MB / 0.5957 GB, free: 36.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/1.668, allocations: 4 kB / 0.5958 GB, free: 36.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007465/1.675, allocations: 2.151 MB / 0.5979 GB, free: 34.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006437/1.682, allocations: 0.5766 MB / 0.5984 GB, free: 34.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02886/1.711, allocations: 6.836 MB / 0.6051 GB, free: 27.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005063/1.716, allocations: 2.429 MB / 0.6075 GB, free: 26.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004959/1.721, allocations: 1.343 MB / 0.6088 GB, free: 24.85 MB / 394.7 MB Notification: Performance of SimCode: time 1.834e-06/1.721, allocations: 0 / 0.6088 GB, free: 24.85 MB / 394.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseInitialize.cpp:3064:3: error: use of undeclared identifier '$PRE_P_motor_P_uniformNoise_P_state_'; did you mean '_motor_P_uniformNoise_P_state_'? $PRE_P_motor_P_uniformNoise_P_state_.assign(tmp178); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _motor_P_uniformNoise_P_state_ ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise.h:481:33: note: '_motor_P_uniformNoise_P_state_' declared here StatArrayDim1 _motor_P_uniformNoise_P_state_; ^ In file included from OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o] Error 1