Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001746/0.001746, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 90.62 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2983/0.2983, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.238e-05, allocations: 7.984 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.51/0.6306, allocations: 86.48 MB / 0.5573 GB, free: 1.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.631, allocations: 69.06 kB / 0.5574 GB, free: 1.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219/1.85, allocations: 48.63 MB / 0.6049 GB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.85, allocations: 3.938 kB / 0.6049 GB, free: 4.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/1.85, allocations: 0 / 0.6049 GB, free: 4.523 MB / 410.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.002889/1.853, allocations: 443.1 kB / 0.6053 GB, free: 4.043 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.853, allocations: 8.031 kB / 0.6053 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/1.853, allocations: 30.56 kB / 0.6054 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/1.853, allocations: 4 kB / 0.6054 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.853, allocations: 170 kB / 0.6055 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/1.853, allocations: 0 / 0.6055 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/1.853, allocations: 0 / 0.6055 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/1.854, allocations: 30.27 kB / 0.6055 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.854, allocations: 0 / 0.6055 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/1.854, allocations: 4 kB / 0.6055 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/1.854, allocations: 4 kB / 0.6056 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/1.854, allocations: 3.938 kB / 0.6056 GB, free: 3.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/1.854, allocations: 232.7 kB / 0.6058 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/1.854, allocations: 22.3 kB / 0.6058 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/1.854, allocations: 8.922 kB / 0.6058 GB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/1.854, allocations: 7.984 kB / 0.6058 GB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/1.854, allocations: 64.27 kB / 0.6059 GB, free: 3.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/1.854, allocations: 0 / 0.6059 GB, free: 3.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002001/1.854, allocations: 71.14 kB / 0.6059 GB, free: 3.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/1.854, allocations: 77.11 kB / 0.606 GB, free: 3.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/1.854, allocations: 89 kB / 0.6061 GB, free: 3.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/1.854, allocations: 25.7 kB / 0.6061 GB, free: 3.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/1.855, allocations: 154.6 kB / 0.6063 GB, free: 2.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/1.855, allocations: 8.516 kB / 0.6063 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/1.855, allocations: 0 / 0.6063 GB, free: 2.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/1.855, allocations: 322.1 kB / 0.6066 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/1.855, allocations: 4 kB / 0.6066 GB, free: 2.562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/1.855, allocations: 3.984 kB / 0.6066 GB, free: 2.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/1.855, allocations: 29.7 kB / 0.6066 GB, free: 2.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.855, allocations: 0 / 0.6066 GB, free: 2.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.813e-05/1.855, allocations: 67.34 kB / 0.6067 GB, free: 2.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/1.855, allocations: 37.73 kB / 0.6067 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.855, allocations: 0 / 0.6067 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.855, allocations: 3.984 kB / 0.6067 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-05/1.855, allocations: 0 / 0.6067 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.855, allocations: 0 / 0.6067 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/1.855, allocations: 0 / 0.6067 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/1.855, allocations: 4 kB / 0.6067 GB, free: 2.398 MB / 410.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 9.896e-05/1.855, allocations: 130.6 kB / 0.6069 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/1.855, allocations: 4 kB / 0.6069 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/1.855, allocations: 15 kB / 0.6069 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.855, allocations: 0 / 0.6069 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.855, allocations: 0 / 0.6069 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.855, allocations: 0 / 0.6069 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/1.856, allocations: 303.2 kB / 0.6072 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.856, allocations: 0 / 0.6072 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-06/1.856, allocations: 0 / 0.6072 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.856, allocations: 0 / 0.6072 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/1.856, allocations: 0 / 0.6072 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/1.856, allocations: 0 / 0.6072 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.856, allocations: 4.031 kB / 0.6072 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/1.856, allocations: 169.1 kB / 0.6073 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/1.856, allocations: 77.11 kB / 0.6074 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/1.856, allocations: 0 / 0.6074 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/1.856, allocations: 8 kB / 0.6074 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/1.856, allocations: 0 / 0.6074 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/1.856, allocations: 3.812 kB / 0.6074 GB, free: 1.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.147e-05/1.856, allocations: 79.31 kB / 0.6075 GB, free: 1.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/1.856, allocations: 0 / 0.6075 GB, free: 1.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007287/1.864, allocations: 1.308 MB / 0.6088 GB, free: 216 kB / 410.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.01164/1.875, allocations: 1.831 MB / 0.6106 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/1.875, allocations: 63.34 kB / 0.6106 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.875, allocations: 0 / 0.6106 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/1.876, allocations: 63.09 kB / 0.6107 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/1.876, allocations: 4.062 kB / 0.6107 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.878, allocations: 195.7 kB / 0.6109 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.879, allocations: 0.677 MB / 0.6115 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/1.879, allocations: 11.38 kB / 0.6115 GB, free: 13.28 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/1.879, allocations: 0 / 0.6115 GB, free: 13.28 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8911:35: error: use of undeclared identifier 'D_24tmpVar4_'; did you mean 'D_24tmpVar5_'? D_24tmpVar5_ = std::abs(D_24tmpVar4_); ^~~~~~~~~~~~ D_24tmpVar5_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8886:14: note: 'D_24tmpVar5_' declared here double D_24tmpVar5_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8964:40: error: use of undeclared identifier 'D_24tmpVar7_'; did you mean 'D_24tmpVar8_'? Modelica_Math_Special_erfInv(D_24tmpVar7_,tmp2059); ^~~~~~~~~~~~ D_24tmpVar8_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8941:14: note: 'D_24tmpVar8_' declared here double D_24tmpVar8_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9004:58: error: use of undeclared identifier 'D_24tmpVar10_'; did you mean 'D_24tmpVar11_'? ModelicaTest_Math_Random_Internal_erfInvSimple(D_24tmpVar10_,tmp2065); ^~~~~~~~~~~~~ D_24tmpVar11_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:8981:14: note: 'D_24tmpVar11_' declared here double D_24tmpVar11_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9046:36: error: use of undeclared identifier 'D_24tmpVar13_'; did you mean 'D_24tmpVar14_'? D_24tmpVar14_ = std::abs(D_24tmpVar13_); ^~~~~~~~~~~~~ D_24tmpVar14_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:9021:14: note: 'D_24tmpVar14_' declared here double D_24tmpVar14_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10103:40: error: use of undeclared identifier 'D_24tmpVar16_'; did you mean 'D_24tmpVar17_'? Modelica_Math_Special_erfInv(D_24tmpVar16_,tmp3080); ^~~~~~~~~~~~~ D_24tmpVar17_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:10080:14: note: 'D_24tmpVar17_' declared here double D_24tmpVar17_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12175:36: error: use of undeclared identifier 'D_24tmpVar19_'; did you mean 'D_24tmpVar20_'? D_24tmpVar20_ = std::abs(D_24tmpVar19_); ^~~~~~~~~~~~~ D_24tmpVar20_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:12150:14: note: 'D_24tmpVar20_' declared here double D_24tmpVar20_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13232:41: error: use of undeclared identifier 'D_24tmpVar22_'; did you mean 'D_24tmpVar23_'? Modelica_Math_Special_erfcInv(D_24tmpVar22_,tmp6102); ^~~~~~~~~~~~~ D_24tmpVar23_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFunctions.cpp:13209:14: note: 'D_24tmpVar23_' declared here double D_24tmpVar23_; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialFMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecialCalcHelperMain.o] Error 1