Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.693e-05, allocations: 4 kB / 305 MB, free: 5.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4015, allocations: 54.86 MB / 359.9 MB, free: 2.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.5536, allocations: 80.02 MB / 439.9 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5539, allocations: 64.81 kB / 439.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008966/0.5629, allocations: 2.162 MB / 442.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.563, allocations: 4 kB / 442.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.563, allocations: 0 / 442.1 MB, free: 14.65 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.0004412/0.5635, allocations: 371.4 kB / 442.5 MB, free: 14.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5635, allocations: 8.031 kB / 442.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.5636, allocations: 38.52 kB / 442.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.5636, allocations: 3.984 kB / 442.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5637, allocations: 163.1 kB / 442.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5637, allocations: 0 / 442.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.5638, allocations: 0.8125 kB / 442.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.097e-05/0.5639, allocations: 29.7 kB / 442.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5639, allocations: 0 / 442.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.5639, allocations: 0 / 442.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5639, allocations: 7.953 kB / 442.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.5639, allocations: 0 / 442.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.5641, allocations: 149.7 kB / 442.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.5642, allocations: 18.52 kB / 442.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.5642, allocations: 8.953 kB / 442.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.5642, allocations: 0 / 442.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.5643, allocations: 60.27 kB / 442.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 5.1e-06/0.5643, allocations: 4 kB / 442.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002019/0.5645, allocations: 67.33 kB / 443 MB, free: 13.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.5646, allocations: 81.06 kB / 443.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.5647, allocations: 85 kB / 443.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5647, allocations: 26.64 kB / 443.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.5648, allocations: 150.6 kB / 443.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.5648, allocations: 0 / 443.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.5648, allocations: 0 / 443.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.565, allocations: 322.9 kB / 443.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.565, allocations: 3.938 kB / 443.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.565, allocations: 0 / 443.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.565, allocations: 29.7 kB / 443.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5651, allocations: 0 / 443.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.63e-05/0.5651, allocations: 61.45 kB / 443.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.5652, allocations: 34.64 kB / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5652, allocations: 0 / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5652, allocations: 0 / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.5653, allocations: 4.094 kB / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5653, allocations: 0 / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.885e-05/0.5653, allocations: 0 / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.5653, allocations: 5.047 kB / 443.8 MB, free: 12.7 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 () * 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 9.268e-05/0.5654, allocations: 130.7 kB / 443.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.5654, allocations: 0 / 443.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.5655, allocations: 11.06 kB / 443.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5655, allocations: 0.5625 kB / 443.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5655, allocations: 4 kB / 443.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5655, allocations: 4 kB / 443.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.5656, allocations: 149.6 kB / 444.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5657, allocations: 0 / 444.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-06/0.5657, allocations: 0 / 444.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5657, allocations: 5.531 kB / 444.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5657, allocations: 4 kB / 444.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.5657, allocations: 5.172 kB / 444.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5657, allocations: 0 / 444.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.5659, allocations: 90.8 kB / 444.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.5659, allocations: 81.11 kB / 444.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.5659, allocations: 3.984 kB / 444.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.566, allocations: 3.938 kB / 444.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.566, allocations: 0 / 444.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.566, allocations: 0 / 444.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.566, allocations: 79.28 kB / 444.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5661, allocations: 0 / 444.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004583/0.5665, allocations: 55.98 kB / 444.4 MB, free: 11.98 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) * 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.0009244/0.5675, allocations: 0.7177 MB / 445.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.5676, allocations: 63.41 kB / 445.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5676, allocations: 4.875 kB / 445.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.5677, allocations: 59.5 kB / 445.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.5678, allocations: 2.5 kB / 445.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.5681, allocations: 128.3 kB / 445.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.5685, allocations: 0.6731 MB / 446.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.5685, allocations: 7.438 kB / 446.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5685, allocations: 0.5625 kB / 446.1 MB, free: 10.22 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=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_TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:739:19: error: expected ')' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:739:10: note: to match this '(' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:739:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented == 0)) ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFMU.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_TestBooleanFunctionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o] Error 1