Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.819e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4765, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.6399, allocations: 86.12 MB / 495 MB, free: 4.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.6402, allocations: 63.91 kB / 495.1 MB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.6507, allocations: 2.435 MB / 497.5 MB, free: 1.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.6508, allocations: 0 / 497.5 MB, free: 1.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.6508, allocations: 0 / 497.5 MB, free: 1.91 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.0004824/0.6513, allocations: 376.1 kB / 497.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.6513, allocations: 8.031 kB / 497.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.6514, allocations: 34.55 kB / 497.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.6514, allocations: 3.938 kB / 497.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.6516, allocations: 159.1 kB / 498.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6516, allocations: 4 kB / 498.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.6516, allocations: 11.94 kB / 498.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.738e-05/0.6517, allocations: 25.7 kB / 498.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.6518, allocations: 0 / 498.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.6518, allocations: 0 / 498.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6518, allocations: 4 kB / 498.1 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.6518, allocations: 3.938 kB / 498.1 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.652, allocations: 149.7 kB / 498.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.836e-05/0.6521, allocations: 22.61 kB / 498.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.6521, allocations: 4.859 kB / 498.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.6521, allocations: 3.953 kB / 498.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/0.6522, allocations: 56.27 kB / 498.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.6522, allocations: 0 / 498.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002013/0.6524, allocations: 71.36 kB / 498.5 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.6525, allocations: 81.05 kB / 498.5 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.084e-05/0.6525, allocations: 89.03 kB / 498.6 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6526, allocations: 25.7 kB / 498.6 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.6526, allocations: 154.6 kB / 498.8 MB, free: 432 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.6527, allocations: 0 / 498.8 MB, free: 432 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.6527, allocations: 0 / 498.8 MB, free: 432 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6528, allocations: 310.8 kB / 499.1 MB, free: 112 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.6528, allocations: 0 / 499.1 MB, free: 112 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.6529, allocations: 4 kB / 499.1 MB, free: 108 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.6529, allocations: 29.77 kB / 499.1 MB, free: 72 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6529, allocations: 0 / 499.1 MB, free: 72 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001253/0.6531, allocations: 67.39 kB / 499.2 MB, free: 15.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.6531, allocations: 29.7 kB / 499.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6531, allocations: 3.953 kB / 499.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6532, allocations: 3.938 kB / 499.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.6532, allocations: 0 / 499.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.6532, allocations: 4 kB / 499.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.6532, allocations: 0 / 499.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.6533, allocations: 0 / 499.2 MB, free: 15.95 MB / 426.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.89e-05/0.6534, allocations: 130.7 kB / 499.4 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.6534, allocations: 7.984 kB / 499.4 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.6534, allocations: 7.062 kB / 499.4 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6534, allocations: 3.953 kB / 499.4 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6534, allocations: 0 / 499.4 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6535, allocations: 0 / 499.4 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.6536, allocations: 141.7 kB / 499.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6536, allocations: 7.938 kB / 499.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.6536, allocations: 0 / 499.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.6536, allocations: 0 / 499.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6536, allocations: 7.984 kB / 499.5 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6537, allocations: 0 / 499.5 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.6537, allocations: 7.953 kB / 499.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.6538, allocations: 86.84 kB / 499.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.6539, allocations: 81.09 kB / 499.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.6539, allocations: 0 / 499.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.6539, allocations: 4 kB / 499.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.654, allocations: 7.984 kB / 499.7 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.654, allocations: 0 / 499.7 MB, free: 15.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.654, allocations: 75.28 kB / 499.8 MB, free: 15.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.654, allocations: 0 / 499.8 MB, free: 15.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005406/0.6546, allocations: 59.94 kB / 499.9 MB, free: 15.22 MB / 426.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.00113/0.6557, allocations: 0.7433 MB / 0.4889 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.6559, allocations: 59.41 kB / 0.4889 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6559, allocations: 0 / 0.4889 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.656, allocations: 59.34 kB / 0.489 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.6561, allocations: 0 / 0.489 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.6566, allocations: 136.7 kB / 0.4891 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.6569, allocations: 0.677 MB / 0.4898 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.6569, allocations: 7.438 kB / 0.4898 GB, free: 13.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6569, allocations: 0 / 0.4898 GB, free: 13.43 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/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"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:825:19: error: expected ')' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:825:10: note: to match this '(' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:825:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented == 0)) ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_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_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o] Error 1