Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.843e-05/3.86e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3921, allocations: 54.86 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.548, allocations: 81.59 MB / 441.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5483, allocations: 67.97 kB / 441.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281/1.829, allocations: 48.57 MB / 490.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.829, allocations: 0 / 490.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/1.829, allocations: 0 / 490.1 MB, free: 14.63 MB / 426.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.002969/1.832, allocations: 435.9 kB / 490.5 MB, free: 14.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.832, allocations: 8.031 kB / 490.5 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/1.832, allocations: 42.5 kB / 490.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/1.832, allocations: 0 / 490.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.832, allocations: 167 kB / 490.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.833, allocations: 4 kB / 490.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/1.833, allocations: 0 / 490.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/1.833, allocations: 33.64 kB / 490.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.833, allocations: 0 / 490.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/1.833, allocations: 0 / 490.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.833, allocations: 3.953 kB / 490.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/1.833, allocations: 4 kB / 490.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/1.833, allocations: 229 kB / 491 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/1.833, allocations: 22.61 kB / 491 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/1.833, allocations: 12.92 kB / 491 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/1.833, allocations: 3.938 kB / 491 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.833, allocations: 64.25 kB / 491.1 MB, free: 13.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/1.833, allocations: 0 / 491.1 MB, free: 13.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001998/1.833, allocations: 76.2 kB / 491.2 MB, free: 13.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/1.834, allocations: 77.11 kB / 491.2 MB, free: 13.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.178e-05/1.834, allocations: 85 kB / 491.3 MB, free: 13.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/1.834, allocations: 25.7 kB / 491.3 MB, free: 13.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/1.834, allocations: 150.6 kB / 491.5 MB, free: 12.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/1.834, allocations: 7.906 kB / 491.5 MB, free: 12.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/1.834, allocations: 0 / 491.5 MB, free: 12.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/1.834, allocations: 314.8 kB / 491.8 MB, free: 12.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/1.834, allocations: 4.031 kB / 491.8 MB, free: 12.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/1.834, allocations: 8.562 kB / 491.8 MB, free: 12.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/1.834, allocations: 25.7 kB / 491.8 MB, free: 12.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.834, allocations: 0 / 491.8 MB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/1.834, allocations: 71.33 kB / 491.9 MB, free: 12.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.834, allocations: 29.7 kB / 491.9 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.834, allocations: 0 / 491.9 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.834, allocations: 1.031 kB / 491.9 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-05/1.834, allocations: 7.953 kB / 492 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/1.834, allocations: 4.094 kB / 492 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/1.834, allocations: 0 / 492 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/1.834, allocations: 0 / 492 MB, free: 12.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001025/1.834, allocations: 138.7 kB / 492.1 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/1.834, allocations: 0 / 492.1 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/1.834, allocations: 11.02 kB / 492.1 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.834, allocations: 0 / 492.1 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.834, allocations: 8.625 kB / 492.1 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.834, allocations: 0 / 492.1 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/1.835, allocations: 301.8 kB / 492.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.835, allocations: 0 / 492.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-06/1.835, allocations: 4 kB / 492.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.835, allocations: 0 / 492.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/1.835, allocations: 4 kB / 492.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.835, allocations: 3.953 kB / 492.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.835, allocations: 0 / 492.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/1.835, allocations: 165.3 kB / 492.6 MB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/1.835, allocations: 81.09 kB / 492.7 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/1.835, allocations: 4 kB / 492.7 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/1.835, allocations: 0 / 492.7 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/1.835, allocations: 7.938 kB / 492.7 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/1.835, allocations: 4 kB / 492.7 MB, free: 11.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.499e-05/1.835, allocations: 79.28 kB / 492.8 MB, free: 11.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.176e-06/1.835, allocations: 0 / 492.8 MB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007237/1.843, allocations: 1.308 MB / 494.1 MB, free: 10.28 MB / 426.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 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.01101/1.854, allocations: 1.812 MB / 495.9 MB, free: 8.445 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/1.854, allocations: 67.34 kB / 495.9 MB, free: 8.367 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.854, allocations: 0 / 495.9 MB, free: 8.367 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.372e-05/1.854, allocations: 59.41 kB / 496 MB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/1.854, allocations: 6.453 kB / 496 MB, free: 8.293 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/1.857, allocations: 196.8 kB / 496.2 MB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.857, allocations: 0.6733 MB / 496.9 MB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/1.857, allocations: 15.38 kB / 496.9 MB, free: 7.344 MB / 426.7 MB Notification: Performance of SimCode: time 1.183e-06/1.857, allocations: 0 / 496.9 MB, free: 7.344 MB / 426.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 OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8911:49: error: use of undeclared identifier '_omcQuot_24746D7056617232_'; did you mean '_omcQuot_24746D7056617233_'? _omcQuot_24746D7056617233_ = std::abs(_omcQuot_24746D7056617232_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617233_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8886:14: note: '_omcQuot_24746D7056617233_' declared here double _omcQuot_24746D7056617233_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8964:40: error: use of undeclared identifier '_omcQuot_24746D7056617235_'; did you mean '_omcQuot_24746D7056617236_'? Modelica_Math_Special_erfInv(_omcQuot_24746D7056617235_,tmp2059); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617236_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8941:14: note: '_omcQuot_24746D7056617236_' declared here double _omcQuot_24746D7056617236_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9004:58: error: use of undeclared identifier '_omcQuot_24746D7056617238_'; did you mean '_omcQuot_24746D7056617239_'? ModelicaTest_Math_Random_Internal_erfInvSimple(_omcQuot_24746D7056617238_,tmp2065); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617239_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8981:14: note: '_omcQuot_24746D7056617239_' declared here double _omcQuot_24746D7056617239_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9046:51: error: use of undeclared identifier '_omcQuot_24746D705661723131_'; did you mean '_omcQuot_24746D705661723132_'? _omcQuot_24746D705661723132_ = std::abs(_omcQuot_24746D705661723131_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723132_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9021:14: note: '_omcQuot_24746D705661723132_' declared here double _omcQuot_24746D705661723132_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10103:40: error: use of undeclared identifier '_omcQuot_24746D705661723134_'; did you mean '_omcQuot_24746D705661723135_'? Modelica_Math_Special_erfInv(_omcQuot_24746D705661723134_,tmp3080); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723135_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10080:14: note: '_omcQuot_24746D705661723135_' declared here double _omcQuot_24746D705661723135_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12175:51: error: use of undeclared identifier '_omcQuot_24746D705661723137_'; did you mean '_omcQuot_24746D705661723138_'? _omcQuot_24746D705661723138_ = std::abs(_omcQuot_24746D705661723137_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723138_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12150:14: note: '_omcQuot_24746D705661723138_' declared here double _omcQuot_24746D705661723138_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13232:41: error: use of undeclared identifier '_omcQuot_24746D705661723230_'; did you mean '_omcQuot_24746D705661723231_'? Modelica_Math_Special_erfcInv(_omcQuot_24746D705661723230_,tmp6102); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723231_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13209:14: note: '_omcQuot_24746D705661723231_' declared here double _omcQuot_24746D705661723231_; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFMU.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 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o] Error 1