Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2b",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.001602/0.001602, allocations: 185.8 kB / 16.4 MB, free: 5.695 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.049/2.049, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001175/0.001175, allocations: 90.05 kB / 270.9 MB, free: 8.379 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.519/0.519, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006461/0.0006462, allocations: 16 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1383, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.6111, allocations: 88.68 MB / 0.5654 GB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.6114, allocations: 63.98 kB / 0.5655 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1246/0.736, allocations: 25.73 MB / 0.5906 GB, free: 4.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.7361, allocations: 0 / 0.5906 GB, free: 4.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.7361, allocations: 0.75 kB / 0.5906 GB, free: 4.039 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.0009422/0.7371, allocations: 445.8 kB / 0.591 GB, free: 3.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.7371, allocations: 8.031 kB / 0.591 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.7372, allocations: 42.55 kB / 0.5911 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.7372, allocations: 11.44 kB / 0.5911 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.7374, allocations: 159.1 kB / 0.5912 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7374, allocations: 0 / 0.5912 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.7374, allocations: 0 / 0.5912 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.7375, allocations: 37.58 kB / 0.5913 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7376, allocations: 0 / 0.5913 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.7376, allocations: 1.031 kB / 0.5913 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7376, allocations: 0 / 0.5913 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.7376, allocations: 0 / 0.5913 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.7378, allocations: 153.6 kB / 0.5914 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.7379, allocations: 22.61 kB / 0.5914 GB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.7379, allocations: 0 / 0.5914 GB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.738, allocations: 60.2 kB / 0.5915 GB, free: 2.941 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.738, allocations: 0 / 0.5915 GB, free: 2.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002034/0.7382, allocations: 63.45 kB / 0.5916 GB, free: 2.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.7383, allocations: 81.23 kB / 0.5916 GB, free: 2.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.882e-05/0.7383, allocations: 89 kB / 0.5917 GB, free: 2.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.7384, allocations: 29.7 kB / 0.5917 GB, free: 2.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.7384, allocations: 150.6 kB / 0.5919 GB, free: 2.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.7385, allocations: 2.031 kB / 0.5919 GB, free: 2.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.7385, allocations: 0 / 0.5919 GB, free: 2.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7386, allocations: 314.8 kB / 0.5922 GB, free: 2.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.7386, allocations: 0 / 0.5922 GB, free: 2.176 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.7386, allocations: 4 kB / 0.5922 GB, free: 2.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.7387, allocations: 29.77 kB / 0.5922 GB, free: 2.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7387, allocations: 3.938 kB / 0.5922 GB, free: 2.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001078/0.7388, allocations: 67.33 kB / 0.5923 GB, free: 2.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.7389, allocations: 33.7 kB / 0.5923 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7389, allocations: 0 / 0.5923 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.7389, allocations: 0 / 0.5923 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.739, allocations: 0 / 0.5923 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.739, allocations: 4 kB / 0.5923 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.739, allocations: 0 / 0.5923 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.739, allocations: 4.031 kB / 0.5923 GB, free: 2.008 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: 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.000116/0.7391, allocations: 147.5 kB / 0.5925 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.7392, allocations: 0 / 0.5925 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.7392, allocations: 3.125 kB / 0.5925 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.7392, allocations: 0 / 0.5925 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7392, allocations: 0 / 0.5925 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.7392, allocations: 0 / 0.5925 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.7394, allocations: 153.6 kB / 0.5926 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7394, allocations: 0 / 0.5926 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-07/0.7394, allocations: 0 / 0.5926 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7394, allocations: 4 kB / 0.5926 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.7394, allocations: 0 / 0.5926 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7394, allocations: 0 / 0.5926 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7394, allocations: 8.5 kB / 0.5926 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.7396, allocations: 90.83 kB / 0.5927 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.7397, allocations: 85.05 kB / 0.5928 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.7397, allocations: 0 / 0.5928 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.853e-05/0.7397, allocations: 8.031 kB / 0.5928 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.7398, allocations: 0 / 0.5928 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.7398, allocations: 8 kB / 0.5928 GB, free: 1.406 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.47e-05/0.7398, allocations: 75.28 kB / 0.5929 GB, free: 1.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7398, allocations: 0 / 0.5929 GB, free: 1.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008926/0.7407, allocations: 155.8 kB / 0.593 GB, free: 1.18 MB / 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: 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.002043/0.7428, allocations: 0.8783 MB / 0.5939 GB, free: 300 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.743, allocations: 59.39 kB / 0.5939 GB, free: 228 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.743, allocations: 0 / 0.5939 GB, free: 228 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.7431, allocations: 59.41 kB / 0.594 GB, free: 156 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.7432, allocations: 3.938 kB / 0.594 GB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008243/0.7441, allocations: 202 kB / 0.5942 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.7444, allocations: 0.6731 MB / 0.5949 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.7444, allocations: 7.438 kB / 0.5949 GB, free: 15.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7444, allocations: 4 kB / 0.5949 GB, free: 15.2 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_TestMatrices2bCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:226:47: error: use of undeclared identifier '_omcQ_24tmpVar8_'; did you mean '_omcQ_24tmpVar9_'? _omcQ_24tmpVar9_ = std::abs(_omcQ_24tmpVar8_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar9_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:198:22: note: '_omcQ_24tmpVar9_' declared here double _omcQ_24tmpVar9_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:296:52: error: use of undeclared identifier '_omcQ_24tmpVar11_'; did you mean '_omcQ_24tmpVar12_'? _omcQ_24tmpVar12_ = std::abs(_omcQ_24tmpVar11_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar12_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:268:26: note: '_omcQ_24tmpVar12_' declared here double _omcQ_24tmpVar12_; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bFMU.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_TestMatrices2bCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.o] Error 1