Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.363/2.363, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.825e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 54.85 MB / 364.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.573, allocations: 80.02 MB / 444.6 MB, free: 396 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.5733, allocations: 55.97 kB / 444.7 MB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00905/0.5824, allocations: 2.164 MB / 446.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5825, allocations: 0 / 446.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.5825, allocations: 4 kB / 446.9 MB, free: 14.18 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.0004486/0.5829, allocations: 368.1 kB / 447.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.583, allocations: 8.031 kB / 447.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.5831, allocations: 38.45 kB / 447.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.5831, allocations: 0 / 447.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.5832, allocations: 159.1 kB / 447.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5832, allocations: 3.984 kB / 447.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.5833, allocations: 4 kB / 447.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.5834, allocations: 34.25 kB / 447.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.5834, allocations: 0.75 kB / 447.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.5834, allocations: 0 / 447.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5834, allocations: 7.953 kB / 447.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/0.5835, allocations: 4 kB / 447.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.5836, allocations: 141.7 kB / 447.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.5837, allocations: 23.3 kB / 447.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.5837, allocations: 4.859 kB / 447.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.5837, allocations: 7.984 kB / 447.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.5838, allocations: 60.33 kB / 447.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.5838, allocations: 3.938 kB / 447.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.584, allocations: 59.41 kB / 447.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.5841, allocations: 81.06 kB / 447.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.5842, allocations: 89 kB / 447.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5842, allocations: 31.33 kB / 448 MB, free: 12.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.5842, allocations: 150.6 kB / 448.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.5843, allocations: 4 kB / 448.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.5843, allocations: 0 / 448.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5844, allocations: 314.8 kB / 448.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.5845, allocations: 0 / 448.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.5845, allocations: 4 kB / 448.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.5845, allocations: 29.7 kB / 448.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5845, allocations: 0 / 448.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/0.5847, allocations: 59.41 kB / 448.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.5847, allocations: 33.8 kB / 448.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5847, allocations: 7.922 kB / 448.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.5848, allocations: 4 kB / 448.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.5848, allocations: 0 / 448.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5848, allocations: 0 / 448.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.5848, allocations: 0 / 448.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.5849, allocations: 3.953 kB / 448.6 MB, free: 12.22 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 0.0001064/0.585, allocations: 138.6 kB / 448.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.585, allocations: 0.6562 kB / 448.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.585, allocations: 11.08 kB / 448.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.585, allocations: 0 / 448.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5851, allocations: 0 / 448.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5851, allocations: 0 / 448.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5852, allocations: 157.6 kB / 448.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5852, allocations: 0 / 448.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.5852, allocations: 1.031 kB / 448.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5852, allocations: 0 / 448.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5853, allocations: 0 / 448.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5853, allocations: 0 / 448.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5853, allocations: 0 / 448.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.5854, allocations: 98.78 kB / 449 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.5855, allocations: 77.11 kB / 449 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.5855, allocations: 7.938 kB / 449 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.5855, allocations: 0 / 449 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.5856, allocations: 0 / 449 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5856, allocations: 0 / 449 MB, free: 11.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.912e-05/0.5856, allocations: 83.16 kB / 449.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5856, allocations: 4.031 kB / 449.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004671/0.5861, allocations: 51.98 kB / 449.2 MB, free: 11.5 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.0009193/0.5871, allocations: 0.7268 MB / 449.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.5872, allocations: 71.31 kB / 450 MB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5872, allocations: 4 kB / 450 MB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.5873, allocations: 55.39 kB / 450 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.906e-05/0.5874, allocations: 4 kB / 450 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.5877, allocations: 124.4 kB / 450.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.588, allocations: 0.6731 MB / 450.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.588, allocations: 7.438 kB / 450.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5881, allocations: 128 / 450.8 MB, free: 9.727 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