Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.173/2.173, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.713e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4388, allocations: 80.02 MB / 444.5 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.439, allocations: 59.97 kB / 444.6 MB, free: 436 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008397/0.4474, allocations: 2.169 MB / 446.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.72e-06/0.4475, allocations: 0 / 446.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.4475, allocations: 0 / 446.8 MB, free: 14.27 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.0003781/0.4479, allocations: 359.5 kB / 447.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.448, allocations: 8.031 kB / 447.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.448, allocations: 11.94 kB / 447.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.4481, allocations: 163.1 kB / 447.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4482, allocations: 0 / 447.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4482, allocations: 0 / 447.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.4483, allocations: 33.64 kB / 447.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.335e-06/0.4483, allocations: 0 / 447.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-06/0.4483, allocations: 0 / 447.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-06/0.4483, allocations: 3.953 kB / 447.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.4483, allocations: 1.5 kB / 447.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.4485, allocations: 153.7 kB / 447.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.4486, allocations: 18.58 kB / 447.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.4486, allocations: 4.859 kB / 447.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-06/0.4486, allocations: 4.094 kB / 447.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.4487, allocations: 56.27 kB / 447.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.008e-06/0.4487, allocations: 3.938 kB / 447.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.4489, allocations: 63.39 kB / 447.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.449, allocations: 81.14 kB / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.449, allocations: 88.94 kB / 447.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4491, allocations: 29.7 kB / 447.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.4491, allocations: 150.6 kB / 448 MB, free: 12.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.4492, allocations: 0 / 448 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.4492, allocations: 0 / 448 MB, free: 12.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4493, allocations: 318.8 kB / 448.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.4494, allocations: 0 / 448.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-06/0.4494, allocations: 0.75 kB / 448.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/0.4494, allocations: 29.77 kB / 448.3 MB, free: 12.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-06/0.4494, allocations: 4 kB / 448.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.4496, allocations: 63.33 kB / 448.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.4496, allocations: 33.7 kB / 448.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.994e-06/0.4496, allocations: 0 / 448.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4497, allocations: 0 / 448.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.4497, allocations: 0 / 448.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.686e-06/0.4497, allocations: 0.8438 kB / 448.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.4497, allocations: 1.938 kB / 448.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.722e-06/0.4497, allocations: 4.031 kB / 448.4 MB, free: 12.37 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.0001032/0.4498, allocations: 138.6 kB / 448.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.4499, allocations: 0 / 448.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.4499, allocations: 11.06 kB / 448.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-06/0.4499, allocations: 0 / 448.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4499, allocations: 7.984 kB / 448.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-06/0.4499, allocations: 0 / 448.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.4501, allocations: 147 kB / 448.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-06/0.4501, allocations: 0 / 448.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-06/0.4501, allocations: 4 kB / 448.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.038e-06/0.4501, allocations: 0 / 448.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4501, allocations: 7.984 kB / 448.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-06/0.4501, allocations: 0 / 448.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4501, allocations: 0 / 448.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.4503, allocations: 94.73 kB / 448.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.4504, allocations: 77.92 kB / 448.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4504, allocations: 3.984 kB / 448.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.4504, allocations: 4.031 kB / 448.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.4504, allocations: 0 / 448.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-06/0.4505, allocations: 7.938 kB / 448.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.96e-05/0.4505, allocations: 75.28 kB / 449 MB, free: 11.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.36e-07/0.4505, allocations: 0 / 449 MB, free: 11.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004275/0.4509, allocations: 57.86 kB / 449 MB, free: 11.64 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.0005348/0.4515, allocations: 195.4 kB / 449.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.4516, allocations: 59.34 kB / 449.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.087e-06/0.4516, allocations: 0 / 449.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.4517, allocations: 55.41 kB / 449.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.824e-05/0.4518, allocations: 7.891 kB / 449.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.452, allocations: 81.97 kB / 449.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4524, allocations: 0.6692 MB / 450.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.4524, allocations: 11.44 kB / 450.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.509e-06/0.4524, allocations: 4.125 kB / 450.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of Templates: time 0.004415/0.4568, allocations: 1.753 MB / 451.9 MB, free: 8.742 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile b'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@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:739:19: error: expected \')\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:739:10: note: to match this \'(\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:739:16: error: use of undeclared identifier \'X\'\n if (!(size(X) not implemented == 0))\n ^\n2 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o] Error 1\n'