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.455/2.455, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004569, allocations: 20 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3745, allocations: 54.85 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.538, allocations: 80.11 MB / 449.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5383, allocations: 59.92 kB / 449.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009026/0.5474, allocations: 2.17 MB / 451.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5474, allocations: 0 / 451.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.5475, allocations: 0 / 451.7 MB, free: 8.168 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.0004389/0.5479, allocations: 373 kB / 452.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.548, allocations: 20.02 kB / 452.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.548, allocations: 30.56 kB / 452.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.5481, allocations: 3.953 kB / 452.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5482, allocations: 159.1 kB / 452.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.5482, allocations: 3.938 kB / 452.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.5482, allocations: 0 / 452.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/0.5483, allocations: 33.7 kB / 452.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5484, allocations: 0 / 452.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.5484, allocations: 0 / 452.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.5484, allocations: 11.94 kB / 452.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.5484, allocations: 3.984 kB / 452.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.5486, allocations: 149.7 kB / 452.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.5487, allocations: 18.52 kB / 452.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5487, allocations: 0 / 452.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.5487, allocations: 64.3 kB / 452.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.5488, allocations: 0 / 452.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002089/0.549, allocations: 71.39 kB / 452.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.549, allocations: 77.11 kB / 452.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/0.5491, allocations: 85 kB / 452.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5491, allocations: 25.7 kB / 452.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.5492, allocations: 150.6 kB / 452.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.5492, allocations: 0 / 452.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.5492, allocations: 0 / 452.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5494, allocations: 318.8 kB / 453.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.5494, allocations: 12.06 kB / 453.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.5494, allocations: 0 / 453.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.5495, allocations: 29.69 kB / 453.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5495, allocations: 4 kB / 453.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.764e-05/0.5496, allocations: 55.41 kB / 453.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.5496, allocations: 33.7 kB / 453.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5497, allocations: 0 / 453.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.5497, allocations: 0 / 453.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.5497, allocations: 0 / 453.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5497, allocations: 96 / 453.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.5497, allocations: 4 kB / 453.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.5498, allocations: 0 / 453.4 MB, free: 6.207 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 () * 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.0001192/0.5499, allocations: 151.4 kB / 453.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.5499, allocations: 0 / 453.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.409e-05/0.5499, allocations: 3.125 kB / 453.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5499, allocations: 0 / 453.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.55, allocations: 4 kB / 453.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.55, allocations: 0 / 453.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.5501, allocations: 149.6 kB / 453.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5501, allocations: 7.938 kB / 453.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.5501, allocations: 0 / 453.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5501, allocations: 0 / 453.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5501, allocations: 4 kB / 453.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5502, allocations: 0 / 453.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5502, allocations: 0 / 453.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.5503, allocations: 90.78 kB / 453.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.5504, allocations: 85.05 kB / 453.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.5504, allocations: 8.031 kB / 453.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.5504, allocations: 0 / 453.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.5504, allocations: 0 / 453.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.5504, allocations: 0 / 453.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.5505, allocations: 79.28 kB / 454 MB, free: 5.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5505, allocations: 0 / 454 MB, free: 5.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.551, allocations: 55.98 kB / 454 MB, free: 5.473 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) * 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.0009291/0.5519, allocations: 0.7265 MB / 454.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.552, allocations: 59.41 kB / 454.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.552, allocations: 0 / 454.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.5521, allocations: 59.39 kB / 454.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.564e-05/0.5522, allocations: 8.156 kB / 454.9 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.5526, allocations: 162 kB / 455 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.553, allocations: 0.6692 MB / 455.7 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.553, allocations: 11.44 kB / 455.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.553, allocations: 0 / 455.7 MB, free: 3.656 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