Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.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.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinear",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.00151/0.00151, allocations: 185.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001624/0.001624, allocations: 99.16 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5386/0.5386, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004959, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1405, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0006854/0.1413, allocations: 232.3 kB / 490.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004486/0.1458, allocations: 2.052 MB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-06/0.1458, allocations: 0 / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.071e-06/0.1459, allocations: 0 / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.094e-06/0.1459, allocations: 0 / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.1492, allocations: 0.4988 MB / 493.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.1493, allocations: 8 kB / 493.1 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1494, allocations: 3.938 kB / 493.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1495, allocations: 7.984 kB / 493.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.1496, allocations: 15.98 kB / 493.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.263e-06/0.1496, allocations: 0 / 493.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.1511, allocations: 0.511 MB / 493.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.1511, allocations: 0 / 493.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.1512, allocations: 29.7 kB / 493.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.152, allocations: 287.6 kB / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.152, allocations: 0 / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.152, allocations: 0 / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.152, allocations: 4 kB / 493.9 MB, free: 7.238 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005169/0.1525, allocations: 417 kB / 494.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.1526, allocations: 15.97 kB / 494.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.679e-05/0.1527, allocations: 105.8 kB / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.1528, allocations: 79.23 kB / 494.5 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1529, allocations: 234.4 kB / 494.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.153, allocations: 154.6 kB / 494.9 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.1531, allocations: 154.6 kB / 495.1 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.869e-05/0.1532, allocations: 108.9 kB / 495.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.1532, allocations: 75.28 kB / 495.3 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.1534, allocations: 154.5 kB / 495.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.679e-05/0.1534, allocations: 150.6 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/0.1535, allocations: 158.5 kB / 495.7 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.1539, allocations: 446 kB / 496.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.154, allocations: 169.1 kB / 496.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.154, allocations: 75.28 kB / 496.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.058e-05/0.1541, allocations: 135.5 kB / 496.5 MB, free: 4.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.1542, allocations: 0 / 496.5 MB, free: 4.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.1543, allocations: 29.7 kB / 496.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1544, allocations: 156.4 kB / 496.7 MB, free: 4.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.555e-05/0.1544, allocations: 93.8 kB / 496.8 MB, free: 4.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1545, allocations: 25.7 kB / 496.8 MB, free: 4.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.1545, allocations: 158.6 kB / 497 MB, free: 3.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/0.1546, allocations: 4 kB / 497 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/0.1546, allocations: 4 kB / 497 MB, free: 3.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1547, allocations: 314.8 kB / 497.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-06/0.1547, allocations: 3.938 kB / 497.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.1548, allocations: 0 / 497.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.1548, allocations: 75.28 kB / 497.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-05/0.1549, allocations: 79.28 kB / 497.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.361e-05/0.155, allocations: 25.7 kB / 497.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/0.1551, allocations: 79.28 kB / 497.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-05/0.1551, allocations: 87.25 kB / 497.6 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.1553, allocations: 154.5 kB / 497.8 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.1553, allocations: 79.22 kB / 497.9 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-05/0.1554, allocations: 154.6 kB / 498 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1556, allocations: 79.28 kB / 498.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.1557, allocations: 79.38 kB / 498.2 MB, free: 2.758 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0002355/0.156, allocations: 272.3 kB / 498.4 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1561, allocations: 101 kB / 498.5 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/0.1562, allocations: 116.1 kB / 498.6 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/0.1563, allocations: 184.3 kB / 498.8 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001156/0.1564, allocations: 176.3 kB / 499 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001213/0.1566, allocations: 188.2 kB / 499.2 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.1569, allocations: 409.1 kB / 499.6 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-05/0.157, allocations: 104.9 kB / 499.7 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.1571, allocations: 105 kB / 499.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.1572, allocations: 180.3 kB / 500 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.1574, allocations: 188.2 kB / 0.4884 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.696e-05/0.1575, allocations: 180.2 kB / 0.4886 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001027/0.1576, allocations: 180.2 kB / 0.4888 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3408/0.4984, allocations: 307.8 kB / 0.4891 GB, free: 43.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.4986, allocations: 182.8 kB / 0.4892 GB, free: 43.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.4986, allocations: 181.4 kB / 0.4894 GB, free: 43.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4988, allocations: 106.9 kB / 0.4895 GB, free: 43.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.4989, allocations: 180.6 kB / 0.4897 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.4989, allocations: 104.8 kB / 0.4898 GB, free: 42.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.241e-05/0.4989, allocations: 80.56 kB / 0.4899 GB, free: 42.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4989, allocations: 0 / 0.4899 GB, free: 42.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001075/0.5, allocations: 127.9 kB / 0.49 GB, free: 42.75 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001831/0.5019, allocations: 1.035 MB / 0.491 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.502, allocations: 6.141 kB / 0.491 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.502, allocations: 1.312 kB / 0.491 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.502, allocations: 0 / 0.491 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.5024, allocations: 0.5235 MB / 0.4915 GB, free: 41.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.5031, allocations: 258.6 kB / 0.4917 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.5033, allocations: 0.6741 MB / 0.4924 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.5033, allocations: 12.81 kB / 0.4924 GB, free: 40.48 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5033, allocations: 0 / 0.4924 GB, free: 40.48 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=5 -DSUNDIALS_MINOR_VERSION=4 -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_TestNonlinearCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:219:56: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, b_, fa_, fb_, is_,tmp7); ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:565:19: error: use of undeclared identifier '_omcQ_24i1_' switch (_omcQ_24i1_) { /* ASUB */ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:843:19: error: use of undeclared identifier '_omcQ_24i1_' switch (_omcQ_24i1_) { /* ASUB */ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:1301:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, mll_, fa_, fmll_, is_,tmp77); ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:1302:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mll_, ml_, fmll_, fml_, is_,tmp78); ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:1303:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, ml_, m_, fml_, fm_, is_,tmp79); ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:1304:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, m_, mr_, fm_, fmr_, is_,tmp80); ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:1305:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mr_, mrr_, fmr_, fmrr_, is_,tmp81); ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFunctions.cpp:1306:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mrr_, b_, fmrr_, fb_, is_,tmp82); ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearFMU.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 9 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinearCalcHelperMain.o] Error 1