Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.234e-05, allocations: 4 kB / 304.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3301, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4552, allocations: 80.02 MB / 439.8 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4554, allocations: 55.98 kB / 439.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00837/0.4638, allocations: 2.165 MB / 442 MB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.048e-06/0.4639, allocations: 0 / 442 MB, free: 14.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.569e-06/0.4639, allocations: 0 / 442 MB, free: 14.79 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.0003862/0.4643, allocations: 363.5 kB / 442.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4643, allocations: 8.031 kB / 442.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.4644, allocations: 7.953 kB / 442.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4645, allocations: 167 kB / 442.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4645, allocations: 0 / 442.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4646, allocations: 0 / 442.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.4646, allocations: 33.64 kB / 442.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.756e-06/0.4647, allocations: 0 / 442.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4647, allocations: 3.984 kB / 442.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.247e-06/0.4647, allocations: 3.953 kB / 442.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.4647, allocations: 4 kB / 442.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.4649, allocations: 153.7 kB / 442.7 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/0.465, allocations: 14.58 kB / 442.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.465, allocations: 4.859 kB / 442.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-06/0.465, allocations: 0 / 442.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.4651, allocations: 66.11 kB / 442.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.4651, allocations: 0 / 442.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000161/0.4653, allocations: 59.41 kB / 442.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.4653, allocations: 89.88 kB / 443 MB, free: 13.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.4654, allocations: 89 kB / 443 MB, free: 13.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4654, allocations: 25.7 kB / 443.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.4655, allocations: 150.6 kB / 443.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.4656, allocations: 0 / 443.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-06/0.4656, allocations: 0 / 443.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4657, allocations: 314.8 kB / 443.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.4658, allocations: 8.031 kB / 443.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-06/0.4658, allocations: 0 / 443.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.4658, allocations: 26.27 kB / 443.6 MB, free: 13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-06/0.4658, allocations: 0 / 443.6 MB, free: 13 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.959e-05/0.4659, allocations: 67.33 kB / 443.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.996e-05/0.466, allocations: 29.7 kB / 443.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.804e-06/0.466, allocations: 4 kB / 443.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.466, allocations: 0 / 443.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.697e-06/0.4661, allocations: 1.031 kB / 443.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.168e-06/0.4661, allocations: 5.031 kB / 443.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.4661, allocations: 0 / 443.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-06/0.4661, allocations: 0 / 443.7 MB, free: 12.88 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.0001062/0.4662, allocations: 138.6 kB / 443.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.4662, allocations: 0 / 443.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.4663, allocations: 7.078 kB / 443.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.764e-06/0.4663, allocations: 3.984 kB / 443.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-06/0.4663, allocations: 0 / 443.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4663, allocations: 0 / 443.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.4665, allocations: 153.6 kB / 444 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-06/0.4665, allocations: 1.5 kB / 444 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-06/0.4665, allocations: 0.875 kB / 444 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-06/0.4665, allocations: 0 / 444 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.49e-06/0.4665, allocations: 0 / 444 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.779e-06/0.4665, allocations: 0 / 444 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-06/0.4665, allocations: 4 kB / 444 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.4667, allocations: 94.72 kB / 444.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.4667, allocations: 81.14 kB / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4668, allocations: 5.625 kB / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.4668, allocations: 3.984 kB / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.4668, allocations: 3.938 kB / 444.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-06/0.4668, allocations: 0 / 444.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.4669, allocations: 75.28 kB / 444.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.4669, allocations: 0 / 444.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004645/0.4674, allocations: 56 kB / 444.3 MB, free: 12.16 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.0005207/0.4679, allocations: 193.3 kB / 444.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.468, allocations: 59.41 kB / 444.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.518e-06/0.468, allocations: 0 / 444.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.4681, allocations: 63.28 kB / 444.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.4682, allocations: 7.016 kB / 444.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.4684, allocations: 70.77 kB / 444.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4688, allocations: 0.6819 MB / 445.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.851e-05/0.4688, allocations: 7.438 kB / 445.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.415e-06/0.4688, allocations: 0 / 445.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of Templates: time 0.00467/0.4735, allocations: 1.757 MB / 447.1 MB, free: 9.27 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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)) ^ 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