Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.369/2.369, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004386, allocations: 20 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3498, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.4982, allocations: 81.69 MB / 451 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.4985, allocations: 63.97 kB / 451.1 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531/2.029, allocations: 48.63 MB / 499.7 MB, free: 83.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/2.029, allocations: 0 / 499.7 MB, free: 83.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/2.029, allocations: 0 / 499.7 MB, free: 83.06 MB / 394.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.002737/2.032, allocations: 449.3 kB / 0.4885 GB, free: 82.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/2.032, allocations: 12.03 kB / 0.4885 GB, free: 82.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.729e-05/2.032, allocations: 34.56 kB / 0.4885 GB, free: 82.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/2.032, allocations: 7.891 kB / 0.4885 GB, free: 82.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.681e-05/2.032, allocations: 163.1 kB / 0.4887 GB, free: 82.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/2.032, allocations: 0 / 0.4887 GB, free: 82.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/2.032, allocations: 0 / 0.4887 GB, free: 82.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.819e-05/2.032, allocations: 33.69 kB / 0.4887 GB, free: 82.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/2.032, allocations: 0 / 0.4887 GB, free: 82.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/2.032, allocations: 0 / 0.4887 GB, free: 82.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/2.032, allocations: 7.953 kB / 0.4887 GB, free: 82.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/2.032, allocations: 4 kB / 0.4887 GB, free: 82.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/2.033, allocations: 236.7 kB / 0.4889 GB, free: 82.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/2.033, allocations: 22.3 kB / 0.489 GB, free: 81.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/2.033, allocations: 0 / 0.489 GB, free: 81.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/2.033, allocations: 60.27 kB / 0.489 GB, free: 81.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/2.033, allocations: 8.062 kB / 0.489 GB, free: 81.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002086/2.033, allocations: 71.28 kB / 0.4891 GB, free: 81.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/2.033, allocations: 81.11 kB / 0.4892 GB, free: 81.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.166e-05/2.033, allocations: 89 kB / 0.4893 GB, free: 81.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/2.033, allocations: 25.7 kB / 0.4893 GB, free: 81.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/2.033, allocations: 150.6 kB / 0.4894 GB, free: 81.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/2.033, allocations: 3.906 kB / 0.4894 GB, free: 81.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/2.033, allocations: 0 / 0.4894 GB, free: 81.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/2.033, allocations: 315 kB / 0.4897 GB, free: 81.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/2.033, allocations: 4 kB / 0.4897 GB, free: 81.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/2.033, allocations: 0 / 0.4897 GB, free: 81.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/2.033, allocations: 37.69 kB / 0.4898 GB, free: 81.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/2.033, allocations: 0 / 0.4898 GB, free: 81.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.561e-05/2.033, allocations: 59.41 kB / 0.4898 GB, free: 81.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/2.033, allocations: 33.7 kB / 0.4899 GB, free: 80.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/2.033, allocations: 0.875 kB / 0.4899 GB, free: 80.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/2.033, allocations: 0 / 0.4899 GB, free: 80.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.73e-05/2.033, allocations: 8.031 kB / 0.4899 GB, free: 80.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/2.033, allocations: 7.938 kB / 0.4899 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/2.033, allocations: 0 / 0.4899 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/2.033, allocations: 11.94 kB / 0.4899 GB, free: 80.95 MB / 394.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 () * Number of clocked 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 6.6e-05/2.034, allocations: 132.6 kB / 0.49 GB, free: 80.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/2.034, allocations: 4 kB / 0.49 GB, free: 80.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/2.034, allocations: 3.125 kB / 0.49 GB, free: 80.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/2.034, allocations: 0 / 0.49 GB, free: 80.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/2.034, allocations: 1.375 kB / 0.49 GB, free: 80.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/2.034, allocations: 7.953 kB / 0.49 GB, free: 80.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/2.034, allocations: 296.3 kB / 0.4903 GB, free: 80.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/2.034, allocations: 0 / 0.4903 GB, free: 80.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-06/2.034, allocations: 0 / 0.4903 GB, free: 80.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/2.034, allocations: 0 / 0.4903 GB, free: 80.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/2.034, allocations: 11.33 kB / 0.4903 GB, free: 80.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/2.034, allocations: 0 / 0.4903 GB, free: 80.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/2.034, allocations: 3.953 kB / 0.4903 GB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/2.034, allocations: 177.1 kB / 0.4905 GB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/2.034, allocations: 77.11 kB / 0.4906 GB, free: 80.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/2.034, allocations: 0 / 0.4906 GB, free: 80.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.898e-05/2.034, allocations: 0 / 0.4906 GB, free: 80.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/2.034, allocations: 7.953 kB / 0.4906 GB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/2.034, allocations: 0 / 0.4906 GB, free: 80.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.53e-05/2.034, allocations: 75.28 kB / 0.4906 GB, free: 80.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.034, allocations: 0 / 0.4906 GB, free: 80.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006546/2.041, allocations: 1.318 MB / 0.4919 GB, free: 78.77 MB / 394.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) * Number of clocked states: 0 () * 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.01012/2.051, allocations: 1.809 MB / 0.4937 GB, free: 76.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/2.051, allocations: 59.41 kB / 0.4938 GB, free: 76.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.051, allocations: 0 / 0.4938 GB, free: 76.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/2.051, allocations: 63.41 kB / 0.4938 GB, free: 76.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/2.051, allocations: 7.078 kB / 0.4938 GB, free: 76.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/2.054, allocations: 410 kB / 0.4942 GB, free: 76.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/2.054, allocations: 0.6731 MB / 0.4949 GB, free: 75.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/2.054, allocations: 7.438 kB / 0.4949 GB, free: 75.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/2.054, allocations: 0 / 0.4949 GB, free: 75.68 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 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:39: error: use of undeclared identifier '_omcQ_24tmpVar2_'; did you mean '_omcQ_24tmpVar3_'? _omcQ_24tmpVar3_ = std::abs(_omcQ_24tmpVar2_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar3_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8886:14: note: '_omcQ_24tmpVar3_' declared here double _omcQ_24tmpVar3_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8964:40: error: use of undeclared identifier '_omcQ_24tmpVar5_'; did you mean '_omcQ_24tmpVar6_'? Modelica_Math_Special_erfInv(_omcQ_24tmpVar5_,tmp2059); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar6_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8941:14: note: '_omcQ_24tmpVar6_' declared here double _omcQ_24tmpVar6_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9004:58: error: use of undeclared identifier '_omcQ_24tmpVar8_'; did you mean '_omcQ_24tmpVar9_'? ModelicaTest_Math_Random_Internal_erfInvSimple(_omcQ_24tmpVar8_,tmp2065); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar9_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8981:14: note: '_omcQ_24tmpVar9_' declared here double _omcQ_24tmpVar9_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9046:40: error: use of undeclared identifier '_omcQ_24tmpVar11_'; did you mean '_omcQ_24tmpVar12_'? _omcQ_24tmpVar12_ = std::abs(_omcQ_24tmpVar11_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar12_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9021:14: note: '_omcQ_24tmpVar12_' declared here double _omcQ_24tmpVar12_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10103:40: error: use of undeclared identifier '_omcQ_24tmpVar14_'; did you mean '_omcQ_24tmpVar15_'? Modelica_Math_Special_erfInv(_omcQ_24tmpVar14_,tmp3080); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar15_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10080:14: note: '_omcQ_24tmpVar15_' declared here double _omcQ_24tmpVar15_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12175:40: error: use of undeclared identifier '_omcQ_24tmpVar17_'; did you mean '_omcQ_24tmpVar18_'? _omcQ_24tmpVar18_ = std::abs(_omcQ_24tmpVar17_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar18_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12150:14: note: '_omcQ_24tmpVar18_' declared here double _omcQ_24tmpVar18_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13232:41: error: use of undeclared identifier '_omcQ_24tmpVar20_'; did you mean '_omcQ_24tmpVar21_'? Modelica_Math_Special_erfcInv(_omcQ_24tmpVar20_,tmp6102); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar21_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13209:14: note: '_omcQ_24tmpVar21_' declared here double _omcQ_24tmpVar21_; ^ 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