Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3",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.002477/0.002483, allocations: 183.6 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 2.348/2.348, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001162/0.001162, allocations: 94.86 kB / 270.9 MB, free: 8.348 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.5351/0.5351, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004752, allocations: 8 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1487, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0007115/0.1494, allocations: 228.3 kB / 490.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1524, allocations: 1.494 MB / 492 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.1525, allocations: 0 / 492 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1525, allocations: 4 kB / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.1526, allocations: 0 / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1537, allocations: 195.5 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.023e-05/0.1537, allocations: 0 / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.1538, allocations: 0 / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.1538, allocations: 0 / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.1538, allocations: 3.938 kB / 492.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1538, allocations: 4 kB / 492.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.1553, allocations: 0.652 MB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-06/0.1554, allocations: 0 / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.1554, allocations: 29.69 kB / 492.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.1562, allocations: 447.3 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1562, allocations: 0 / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1562, allocations: 0 / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1562, allocations: 0 / 493.3 MB, free: 8.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005794/0.1568, allocations: 361.1 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.1569, allocations: 8.031 kB / 493.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.1569, allocations: 34.56 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.157, allocations: 11.8 kB / 493.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1571, allocations: 163 kB / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1572, allocations: 0 / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1572, allocations: 4 kB / 493.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1573, allocations: 33.69 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1573, allocations: 0 / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1573, allocations: 0 / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1573, allocations: 4 kB / 493.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.1574, allocations: 3.953 kB / 494 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1576, allocations: 145.7 kB / 494.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.1576, allocations: 22.55 kB / 494.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1577, allocations: 7.922 kB / 494.1 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/0.1577, allocations: 60.27 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.1578, allocations: 0 / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.158, allocations: 59.47 kB / 494.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.158, allocations: 81.23 kB / 494.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.1581, allocations: 89.86 kB / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1581, allocations: 29.69 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.1582, allocations: 150.6 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1583, allocations: 4 kB / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.1583, allocations: 0 / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1584, allocations: 318.8 kB / 494.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.1584, allocations: 3.938 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.1585, allocations: 4 kB / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.1585, allocations: 29.7 kB / 494.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1585, allocations: 0 / 494.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.1586, allocations: 59.39 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.1587, allocations: 33.7 kB / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1587, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1587, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-06/0.1588, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1588, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1588, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1588, allocations: 8.094 kB / 495 MB, free: 6.113 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001218/0.159, allocations: 147.5 kB / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.159, allocations: 0 / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.159, allocations: 15.05 kB / 495.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.159, allocations: 0 / 495.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.159, allocations: 0 / 495.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.159, allocations: 3.938 kB / 495.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1592, allocations: 145.6 kB / 495.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1592, allocations: 0 / 495.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.1592, allocations: 4 kB / 495.3 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1592, allocations: 4 kB / 495.3 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1592, allocations: 0 / 495.3 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1593, allocations: 0 / 495.3 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1593, allocations: 7.984 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.1594, allocations: 90.8 kB / 495.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.1595, allocations: 77.11 kB / 495.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1595, allocations: 3.984 kB / 495.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.1595, allocations: 8.016 kB / 495.5 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.1596, allocations: 0 / 495.5 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1596, allocations: 4 kB / 495.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.1596, allocations: 79.22 kB / 495.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1596, allocations: 0 / 495.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000697/0.1603, allocations: 120 kB / 495.7 MB, free: 5.309 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.001513/0.1619, allocations: 0.7111 MB / 496.4 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.162, allocations: 63.44 kB / 496.5 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1621, allocations: 0 / 496.5 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.1621, allocations: 55.41 kB / 496.6 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1623, allocations: 3.938 kB / 496.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.1629, allocations: 154 kB / 496.7 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1632, allocations: 0.677 MB / 497.4 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1632, allocations: 7.438 kB / 497.4 MB, free: 3.523 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1632, allocations: 0 / 497.4 MB, free: 3.523 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_TestMatrices3CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3Functions.cpp:123:50: error: use of undeclared identifier '_omcQ_24i1_' _omcQ_24tmpVar4_ = std::abs(A_(_omcQ_24i1_,i_)); ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3Functions.cpp:198:57: error: use of undeclared identifier '_omcQ_24i1_' _omcQ_24tmpVar2_ = std::abs(A_(i_,_omcQ_24i1_)); ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3FMU.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 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices3CalcHelperMain.o] Error 1