Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.795e-05, allocations: 4 kB / 347.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 61.87 MB / 408.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5936, allocations: 87.51 MB / 496.4 MB, free: 3.203 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5939, allocations: 63.97 kB / 496.5 MB, free: 3.141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.618/2.212, allocations: 48.66 MB / 0.5324 GB, free: 108.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.106e-06/2.212, allocations: 0 / 0.5324 GB, free: 108.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/2.212, allocations: 3.938 kB / 0.5324 GB, free: 108.8 MB / 442.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.002992/2.215, allocations: 442.3 kB / 0.5328 GB, free: 108.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/2.215, allocations: 8.031 kB / 0.5328 GB, free: 108.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/2.215, allocations: 30.56 kB / 0.5328 GB, free: 108.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/2.215, allocations: 4.875 kB / 0.5328 GB, free: 108.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.716e-05/2.215, allocations: 163.1 kB / 0.533 GB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/2.215, allocations: 3.953 kB / 0.533 GB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/2.215, allocations: 3.938 kB / 0.533 GB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/2.215, allocations: 34.77 kB / 0.533 GB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/2.215, allocations: 4 kB / 0.533 GB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/2.215, allocations: 3.938 kB / 0.533 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/2.215, allocations: 0 / 0.533 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/2.215, allocations: 8 kB / 0.533 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/2.215, allocations: 230.3 kB / 0.5333 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/2.215, allocations: 26.55 kB / 0.5333 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/2.216, allocations: 8.922 kB / 0.5333 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/2.216, allocations: 4.547 kB / 0.5333 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/2.216, allocations: 62.05 kB / 0.5334 GB, free: 107.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/2.216, allocations: 0 / 0.5334 GB, free: 107.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001795/2.216, allocations: 67.39 kB / 0.5334 GB, free: 107.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/2.216, allocations: 77.11 kB / 0.5335 GB, free: 107.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.994e-05/2.216, allocations: 85.77 kB / 0.5336 GB, free: 107.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/2.216, allocations: 25.7 kB / 0.5336 GB, free: 107.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/2.216, allocations: 158.6 kB / 0.5338 GB, free: 107.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/2.216, allocations: 3.906 kB / 0.5338 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/2.216, allocations: 0 / 0.5338 GB, free: 107.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.483e-05/2.216, allocations: 314.8 kB / 0.5341 GB, free: 106.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/2.216, allocations: 4 kB / 0.5341 GB, free: 106.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/2.216, allocations: 3.609 kB / 0.5341 GB, free: 106.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/2.216, allocations: 37.62 kB / 0.5341 GB, free: 106.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/2.216, allocations: 0 / 0.5341 GB, free: 106.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.773e-05/2.216, allocations: 67.42 kB / 0.5342 GB, free: 106.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/2.216, allocations: 37.7 kB / 0.5342 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/2.216, allocations: 0 / 0.5342 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/2.216, allocations: 0 / 0.5342 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.435e-05/2.216, allocations: 0 / 0.5342 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/2.216, allocations: 3.984 kB / 0.5342 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/2.216, allocations: 0 / 0.5342 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/2.216, allocations: 0 / 0.5342 GB, free: 106.7 MB / 442.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 5.995e-05/2.216, allocations: 130.7 kB / 0.5343 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/2.216, allocations: 3.953 kB / 0.5343 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/2.217, allocations: 7.156 kB / 0.5343 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/2.217, allocations: 4 kB / 0.5344 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.217, allocations: 3.688 kB / 0.5344 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/2.217, allocations: 0 / 0.5344 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/2.217, allocations: 300.2 kB / 0.5346 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/2.217, allocations: 0 / 0.5346 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-06/2.217, allocations: 0 / 0.5346 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/2.217, allocations: 4 kB / 0.5346 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/2.217, allocations: 0 / 0.5346 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/2.217, allocations: 4.031 kB / 0.5346 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/2.217, allocations: 0 / 0.5346 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/2.217, allocations: 176.7 kB / 0.5348 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/2.217, allocations: 81.11 kB / 0.5349 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/2.217, allocations: 0 / 0.5349 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/2.217, allocations: 0 / 0.5349 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/2.217, allocations: 0 / 0.5349 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/2.217, allocations: 11.97 kB / 0.5349 GB, free: 105.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.559e-05/2.217, allocations: 75.28 kB / 0.535 GB, free: 105.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.217, allocations: 0 / 0.535 GB, free: 105.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006862/2.224, allocations: 1.31 MB / 0.5363 GB, free: 104.5 MB / 442.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.01054/2.235, allocations: 1.818 MB / 0.538 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/2.235, allocations: 67.34 kB / 0.5381 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.235, allocations: 4.062 kB / 0.5381 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/2.235, allocations: 55.41 kB / 0.5382 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/2.235, allocations: 0 / 0.5382 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/2.238, allocations: 199.9 kB / 0.5383 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/2.238, allocations: 0.677 MB / 0.539 GB, free: 101.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/2.238, allocations: 7.438 kB / 0.539 GB, free: 101.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/2.238, allocations: 0 / 0.539 GB, free: 101.6 MB / 442.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"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8923:49: error: use of undeclared identifier '_omcQuot_24746D7056617232_'; did you mean '_omcQuot_24746D7056617233_'? _omcQuot_24746D7056617233_ = std::abs(_omcQuot_24746D7056617232_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617233_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8898:14: note: '_omcQuot_24746D7056617233_' declared here double _omcQuot_24746D7056617233_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8976:40: error: use of undeclared identifier '_omcQuot_24746D7056617235_'; did you mean '_omcQuot_24746D7056617236_'? Modelica_Math_Special_erfInv(_omcQuot_24746D7056617235_,tmp2059); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617236_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8953:14: note: '_omcQuot_24746D7056617236_' declared here double _omcQuot_24746D7056617236_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9016:58: error: use of undeclared identifier '_omcQuot_24746D7056617238_'; did you mean '_omcQuot_24746D7056617239_'? ModelicaTest_Math_Random_Internal_erfInvSimple(_omcQuot_24746D7056617238_,tmp2065); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617239_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8993:14: note: '_omcQuot_24746D7056617239_' declared here double _omcQuot_24746D7056617239_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9058:51: error: use of undeclared identifier '_omcQuot_24746D705661723131_'; did you mean '_omcQuot_24746D705661723132_'? _omcQuot_24746D705661723132_ = std::abs(_omcQuot_24746D705661723131_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723132_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9033:14: note: '_omcQuot_24746D705661723132_' declared here double _omcQuot_24746D705661723132_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10115:40: error: use of undeclared identifier '_omcQuot_24746D705661723134_'; did you mean '_omcQuot_24746D705661723135_'? Modelica_Math_Special_erfInv(_omcQuot_24746D705661723134_,tmp3080); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723135_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10092:14: note: '_omcQuot_24746D705661723135_' declared here double _omcQuot_24746D705661723135_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12187:51: error: use of undeclared identifier '_omcQuot_24746D705661723137_'; did you mean '_omcQuot_24746D705661723138_'? _omcQuot_24746D705661723138_ = std::abs(_omcQuot_24746D705661723137_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723138_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12162:14: note: '_omcQuot_24746D705661723138_' declared here double _omcQuot_24746D705661723138_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13244:41: error: use of undeclared identifier '_omcQuot_24746D705661723230_'; did you mean '_omcQuot_24746D705661723231_'? Modelica_Math_Special_erfcInv(_omcQuot_24746D705661723230_,tmp6102); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723231_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13221:14: note: '_omcQuot_24746D705661723231_' declared here double _omcQuot_24746D705661723231_; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_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_trunk_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o] Error 1