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.13/2.13, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.126e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.5378, allocations: 118.5 MB / 412.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.5382, allocations: 83.95 kB / 412.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6009/1.139, allocations: 77.85 MB / 490.6 MB, free: 61.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.139, allocations: 4 kB / 490.6 MB, free: 61.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004075/1.14, allocations: 87.94 kB / 490.7 MB, free: 61.03 MB / 362.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.01284/1.152, allocations: 3.267 MB / 494 MB, free: 57.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.153, allocations: 11.97 kB / 494 MB, free: 57.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/1.156, allocations: 467.1 kB / 494.4 MB, free: 57.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008344/1.164, allocations: 2.532 MB / 497 MB, free: 54.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006572/1.165, allocations: 259.2 kB / 497.2 MB, free: 54.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/1.166, allocations: 187.9 kB / 497.4 MB, free: 54.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01019/1.176, allocations: 3.292 MB / 0.489 GB, free: 50.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/1.188, allocations: 3.638 MB / 0.4925 GB, free: 47.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/1.188, allocations: 7.906 kB / 0.4925 GB, free: 47.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005459/1.189, allocations: 7.984 kB / 0.4925 GB, free: 47.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/1.189, allocations: 146 kB / 0.4927 GB, free: 46.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03418/1.223, allocations: 13.36 MB / 0.5057 GB, free: 33.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005003/1.228, allocations: 2.038 MB / 0.5077 GB, free: 31.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/1.231, allocations: 1.147 MB / 0.5088 GB, free: 30.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/1.232, allocations: 232 kB / 0.509 GB, free: 29.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002868/1.235, allocations: 1.194 MB / 0.5102 GB, free: 28.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=196): time 6.753e-06/1.235, allocations: 4 kB / 0.5102 GB, free: 28.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=249): time 0.03047/1.265, allocations: 9.475 MB / 0.5195 GB, free: 19.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/1.266, allocations: 191.9 kB / 0.5196 GB, free: 18.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003472/1.269, allocations: 1.626 MB / 0.5212 GB, free: 17.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006704/1.27, allocations: 41.69 kB / 0.5213 GB, free: 17.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.271, allocations: 1.393 MB / 0.5226 GB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.273, allocations: 0.8006 MB / 0.5234 GB, free: 15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/1.273, allocations: 0 / 0.5234 GB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/1.273, allocations: 424.5 kB / 0.5238 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.276, allocations: 1.228 MB / 0.525 GB, free: 13.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.279, allocations: 1.845 MB / 0.5268 GB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/1.283, allocations: 1.503 MB / 0.5283 GB, free: 9.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-05/1.283, allocations: 8 kB / 0.5283 GB, free: 9.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.009609/1.293, allocations: 3.476 MB / 0.5317 GB, free: 6.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/1.293, allocations: 12 kB / 0.5317 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-05/1.293, allocations: 19.95 kB / 0.5317 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/1.295, allocations: 499.3 kB / 0.5322 GB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005399/1.301, allocations: 0.6826 MB / 0.5329 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007173/1.308, allocations: 4.48 MB / 0.5372 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/1.312, allocations: 147.8 kB / 0.5374 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007435/1.313, allocations: 116 kB / 0.5375 GB, free: 8 kB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real 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 (321): * Single equations (assignments): 315 * 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.0009196/1.313, allocations: 195.5 kB / 0.5377 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01063/1.324, allocations: 3.145 MB / 0.5407 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/1.326, allocations: 241 kB / 0.541 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.337, allocations: 3.392 MB / 0.5443 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.337, allocations: 20 kB / 0.5443 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.337, allocations: 4 kB / 0.5443 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/1.337, allocations: 11.95 kB / 0.5443 GB, free: 8.949 MB / 378.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.02887/1.366, allocations: 8.863 MB / 0.553 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.366, allocations: 0 / 0.553 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3019/1.668, allocations: 474 kB / 0.5534 GB, free: 78.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/1.672, allocations: 0.6499 MB / 0.5541 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006119/1.672, allocations: 18.5 kB / 0.5541 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.686, allocations: 7.511 MB / 0.5614 GB, free: 74.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005919/1.692, allocations: 3.239 MB / 0.5646 GB, free: 73.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/1.704, allocations: 5.25 MB / 0.5697 GB, free: 73.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/1.706, allocations: 0.6216 MB / 0.5703 GB, free: 73.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000921/1.707, allocations: 16.98 kB / 0.5703 GB, free: 73.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/1.71, allocations: 129.3 kB / 0.5705 GB, free: 73.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007414/1.711, allocations: 209.1 kB / 0.5707 GB, free: 73.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.711, allocations: 76.34 kB / 0.5707 GB, free: 73.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002685/1.714, allocations: 1.207 MB / 0.5719 GB, free: 72.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.714, allocations: 0 / 0.5719 GB, free: 72.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004459/1.718, allocations: 0.7364 MB / 0.5726 GB, free: 72.95 MB / 378.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 (207): * Single equations (assignments): 201 * 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.0142/1.732, allocations: 6.655 MB / 0.5791 GB, free: 71.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008409/1.741, allocations: 3.49 MB / 0.5825 GB, free: 71.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.741, allocations: 0 / 0.5825 GB, free: 71.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005621/1.747, allocations: 2.146 MB / 0.5846 GB, free: 70.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/1.751, allocations: 485.8 kB / 0.5851 GB, free: 70.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/1.775, allocations: 6.679 MB / 0.5916 GB, free: 68.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004593/1.78, allocations: 2.425 MB / 0.594 GB, free: 67.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005045/1.785, allocations: 1.347 MB / 0.5953 GB, free: 65.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.804e-06/1.785, allocations: 4 kB / 0.5953 GB, free: 65.95 MB / 378.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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -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:3121: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/OMCompiler/build/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