Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",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.001506/0.00151, allocations: 178.9 kB / 13.65 MB, free: 1.66 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.114/2.114, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.00195/0.001949, allocations: 90.62 kB / 267.5 MB, free: 14.1 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.316/0.316, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.906e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5321/0.6568, allocations: 88.94 MB / 0.5597 GB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.6572, allocations: 65.44 kB / 0.5598 GB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04357/0.7008, allocations: 7.397 MB / 0.567 GB, free: 7.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.7008, allocations: 0 / 0.567 GB, free: 7.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.7008, allocations: 0 / 0.567 GB, free: 7.672 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.0006658/0.7015, allocations: 407.9 kB / 0.5674 GB, free: 7.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.7016, allocations: 8.031 kB / 0.5674 GB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.969e-05/0.7017, allocations: 105.8 kB / 0.5675 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.7018, allocations: 79.28 kB / 0.5676 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.7019, allocations: 238.3 kB / 0.5678 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.702, allocations: 154.6 kB / 0.568 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.7021, allocations: 150.6 kB / 0.5681 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.944e-05/0.7022, allocations: 108.9 kB / 0.5682 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.7022, allocations: 75.28 kB / 0.5683 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.7023, allocations: 157.8 kB / 0.5684 GB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.654e-05/0.7024, allocations: 154.5 kB / 0.5686 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.7025, allocations: 150.6 kB / 0.5687 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.7028, allocations: 442 kB / 0.5692 GB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7029, allocations: 176.8 kB / 0.5693 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.703, allocations: 80.14 kB / 0.5694 GB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.703, allocations: 79.27 kB / 0.5695 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/0.7031, allocations: 105.8 kB / 0.5696 GB, free: 4.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.7031, allocations: 0 / 0.5696 GB, free: 4.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.72e-05/0.7032, allocations: 37.69 kB / 0.5696 GB, free: 4.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.7033, allocations: 159.5 kB / 0.5698 GB, free: 4.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.491e-05/0.7034, allocations: 85 kB / 0.5698 GB, free: 4.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.7034, allocations: 25.7 kB / 0.5699 GB, free: 4.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.7035, allocations: 154.5 kB / 0.57 GB, free: 4.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.7035, allocations: 0 / 0.57 GB, free: 4.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-07/0.7035, allocations: 0 / 0.57 GB, free: 4.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7037, allocations: 310.8 kB / 0.5703 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.7037, allocations: 0 / 0.5703 GB, free: 4.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.7037, allocations: 7.156 kB / 0.5703 GB, free: 4.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.7038, allocations: 79.31 kB / 0.5704 GB, free: 4.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/0.7038, allocations: 75.28 kB / 0.5705 GB, free: 3.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.886e-05/0.7039, allocations: 33.69 kB / 0.5705 GB, free: 3.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.704, allocations: 83.22 kB / 0.5706 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-05/0.704, allocations: 82.34 kB / 0.5707 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.546e-05/0.7041, allocations: 150.6 kB / 0.5708 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.305e-05/0.7042, allocations: 83.23 kB / 0.5709 GB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.768e-05/0.7042, allocations: 158.5 kB / 0.571 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.7043, allocations: 75.28 kB / 0.5711 GB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.7044, allocations: 83.16 kB / 0.5712 GB, free: 3.188 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 () * 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.0001444/0.7046, allocations: 258.6 kB / 0.5714 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.7046, allocations: 105 kB / 0.5715 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.87e-05/0.7047, allocations: 112 kB / 0.5716 GB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/0.7048, allocations: 176.3 kB / 0.5718 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.294e-05/0.7049, allocations: 187.3 kB / 0.572 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/0.705, allocations: 180.2 kB / 0.5722 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.7053, allocations: 397.2 kB / 0.5725 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.494e-05/0.7054, allocations: 108.9 kB / 0.5726 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.7055, allocations: 116.2 kB / 0.5727 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-05/0.7056, allocations: 176.3 kB / 0.5729 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.7057, allocations: 184.2 kB / 0.5731 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-05/0.7058, allocations: 176.3 kB / 0.5733 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.694e-05/0.7059, allocations: 184.2 kB / 0.5734 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.7061, allocations: 311 kB / 0.5737 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.7062, allocations: 182 kB / 0.5739 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.7063, allocations: 179.6 kB / 0.5741 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.7065, allocations: 109.3 kB / 0.5742 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7066, allocations: 180.3 kB / 0.5744 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.7067, allocations: 105 kB / 0.5745 GB, free: 15.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.7067, allocations: 79.33 kB / 0.5745 GB, free: 15.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7067, allocations: 3.938 kB / 0.5745 GB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009853/0.7077, allocations: 178.8 kB / 0.5747 GB, free: 15.37 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: 0 () * Number of discrete 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.001593/0.7094, allocations: 1.01 MB / 0.5757 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.074e-05/0.7094, allocations: 7.938 kB / 0.5757 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7095, allocations: 0 / 0.5757 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.7095, allocations: 4 kB / 0.5757 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.7098, allocations: 0.5185 MB / 0.5762 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.7105, allocations: 255 kB / 0.5765 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.7108, allocations: 0.6731 MB / 0.5771 GB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.7108, allocations: 7.438 kB / 0.5771 GB, free: 12.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7108, allocations: 4 kB / 0.5771 GB, free: 12.82 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/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_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:252:44: error: use of undeclared identifier 'D_24tmpVar10_'; did you mean 'D_24tmpVar11_'? D_24tmpVar11_ = std::abs(D_24tmpVar10_); ^~~~~~~~~~~~~ D_24tmpVar11_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:224:22: note: 'D_24tmpVar11_' declared here double D_24tmpVar11_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:322:48: 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_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:294:26: note: 'D_24tmpVar14_' declared here double D_24tmpVar14_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:931:41: error: use of undeclared identifier 'D_24tmpVar2_'; did you mean 'D_24tmpVar3_'? D_24tmpVar3_ = std::abs(D_24tmpVar2_); ^~~~~~~~~~~~ D_24tmpVar3_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:908:20: note: 'D_24tmpVar3_' declared here double D_24tmpVar3_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:974:43: error: use of undeclared identifier 'D_24tmpVar5_'; did you mean 'D_24tmpVar6_'? D_24tmpVar6_ = std::abs(D_24tmpVar5_); ^~~~~~~~~~~~ D_24tmpVar6_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:951:22: note: 'D_24tmpVar6_' declared here double D_24tmpVar6_; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFMU.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 4 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o] Error 1