Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 235 MB / 247.6 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.936e-05/4.95e-05, allocations: 4.938 kB / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4324, allocations: 54.84 MB / 359.8 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5905, allocations: 83.69 MB / 443.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5909, allocations: 60.91 kB / 443.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1295/0.7204, allocations: 25.64 MB / 469.2 MB, free: 3.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.265e-06/0.7205, allocations: 3.984 kB / 469.2 MB, free: 3.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.7205, allocations: 7.938 kB / 469.3 MB, free: 3.629 MB / 394.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.0009855/0.7215, allocations: 433 kB / 469.7 MB, free: 3.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.7216, allocations: 12.03 kB / 469.7 MB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.7217, allocations: 30.56 kB / 469.7 MB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.7217, allocations: 4 kB / 469.7 MB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.7219, allocations: 159.1 kB / 469.9 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.7219, allocations: 3.938 kB / 469.9 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.7219, allocations: 0 / 469.9 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.722, allocations: 33.64 kB / 469.9 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7221, allocations: 4 kB / 469.9 MB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.7221, allocations: 7.938 kB / 469.9 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7221, allocations: 0.5625 kB / 469.9 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.535e-05/0.7222, allocations: 4 kB / 469.9 MB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.7224, allocations: 145.7 kB / 470.1 MB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.7224, allocations: 14.58 kB / 470.1 MB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.7225, allocations: 12.95 kB / 470.1 MB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.7225, allocations: 4 kB / 470.1 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.7226, allocations: 57.86 kB / 470.2 MB, free: 2.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.484e-06/0.7226, allocations: 0 / 470.2 MB, free: 2.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002105/0.7228, allocations: 71.28 kB / 470.2 MB, free: 2.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.7229, allocations: 77.11 kB / 470.3 MB, free: 2.367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.723, allocations: 85 kB / 470.4 MB, free: 2.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.723, allocations: 25.7 kB / 470.4 MB, free: 2.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.7231, allocations: 150.6 kB / 470.6 MB, free: 2.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.7232, allocations: 4.031 kB / 470.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.7232, allocations: 0 / 470.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.7234, allocations: 318.8 kB / 470.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.7234, allocations: 0 / 470.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-06/0.7234, allocations: 0 / 470.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.7235, allocations: 33.69 kB / 470.9 MB, free: 1.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7235, allocations: 0 / 470.9 MB, free: 1.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001238/0.7237, allocations: 59.34 kB / 471 MB, free: 1.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/0.7237, allocations: 33.8 kB / 471 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7238, allocations: 4 kB / 471 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7238, allocations: 0.9375 kB / 471 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.7238, allocations: 0 / 471 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7238, allocations: 0 / 471 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.7239, allocations: 3.953 kB / 471 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.7239, allocations: 0 / 471 MB, free: 1.617 MB / 394.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 () * 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.0001308/0.724, allocations: 134.7 kB / 471.1 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.7241, allocations: 0 / 471.1 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.7241, allocations: 7.125 kB / 471.1 MB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7241, allocations: 7.938 kB / 471.2 MB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.7241, allocations: 4 kB / 471.2 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7241, allocations: 0.5625 kB / 471.2 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.7243, allocations: 149.6 kB / 471.3 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7243, allocations: 0 / 471.3 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-06/0.7243, allocations: 0 / 471.3 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7244, allocations: 0 / 471.3 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.7244, allocations: 4 kB / 471.3 MB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7244, allocations: 3.938 kB / 471.3 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7244, allocations: 0 / 471.3 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.7246, allocations: 98.72 kB / 471.4 MB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.7247, allocations: 81.11 kB / 471.5 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.7247, allocations: 0 / 471.5 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.7247, allocations: 96 / 471.5 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.7248, allocations: 3.984 kB / 471.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.7248, allocations: 0 / 471.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.7249, allocations: 75.28 kB / 471.6 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.7249, allocations: 8.031 kB / 471.6 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001215/0.7261, allocations: 163.8 kB / 471.7 MB, free: 0.7852 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: 1 (result) * Number of discrete states: 1 (result) * 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.002182/0.7283, allocations: 0.8606 MB / 472.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.7285, allocations: 75.33 kB / 472.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.7285, allocations: 0 / 472.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.982e-05/0.7286, allocations: 55.34 kB / 472.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.7287, allocations: 4.766 kB / 472.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.7294, allocations: 161.5 kB / 472.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.7298, allocations: 0.677 MB / 473.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.7298, allocations: 7.438 kB / 473.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7299, allocations: 0 / 473.6 MB, free: 14.84 MB / 410.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:226:57: error: use of undeclared identifier '_omcQuot_24746D7056617236_'; did you mean '_omcQuot_24746D7056617237_'? _omcQuot_24746D7056617237_ = std::abs(_omcQuot_24746D7056617236_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617237_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:198:22: note: '_omcQuot_24746D7056617237_' declared here double _omcQuot_24746D7056617237_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:296:63: error: use of undeclared identifier '_omcQuot_24746D7056617239_'; did you mean '_omcQuot_24746D705661723130_'? _omcQuot_24746D705661723130_ = std::abs(_omcQuot_24746D7056617239_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723130_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:268:26: note: '_omcQuot_24746D705661723130_' declared here double _omcQuot_24746D705661723130_; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bFMU.cpp:11: /var/lib/jenkins/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_2_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.o] Error 1