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.149/2.149, allocations: 234.9 MB / 250.5 MB, free: 10.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004538, allocations: 12 kB / 314.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2712, allocations: 54.87 MB / 369.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005651/0.2718, allocations: 216.5 kB / 369.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.2726, allocations: 322.1 kB / 369.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.035e-05/0.2727, allocations: 0 / 369.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.362e-06/0.2727, allocations: 0 / 369.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.11e-06/0.2727, allocations: 4 kB / 369.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.2734, allocations: 135.7 kB / 369.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.799e-05/0.2735, allocations: 4 kB / 369.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.796e-05/0.2735, allocations: 7.938 kB / 369.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.057e-05/0.2735, allocations: 0 / 369.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.112e-05/0.2736, allocations: 3.984 kB / 369.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-06/0.2736, allocations: 0 / 369.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.2739, allocations: 131.8 kB / 370 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-06/0.2739, allocations: 0 / 370 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.2739, allocations: 29.7 kB / 370 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2741, allocations: 95.83 kB / 370.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.286e-06/0.2741, allocations: 0 / 370.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.762e-06/0.2742, allocations: 0 / 370.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2742, allocations: 0 / 370.1 MB, free: 9.922 MB / 298.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.0003707/0.2745, allocations: 369 kB / 370.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2746, allocations: 8.031 kB / 370.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.2746, allocations: 4 kB / 370.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2748, allocations: 167 kB / 370.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2748, allocations: 0 / 370.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-06/0.2748, allocations: 0 / 370.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.2749, allocations: 37.69 kB / 370.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.976e-06/0.2749, allocations: 0 / 370.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-06/0.2749, allocations: 0 / 370.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.791e-06/0.2749, allocations: 3.953 kB / 370.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.275, allocations: 0 / 370.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.2751, allocations: 149.7 kB / 370.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.2752, allocations: 18.52 kB / 370.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-06/0.2752, allocations: 4 kB / 370.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.2753, allocations: 64.34 kB / 370.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.979e-06/0.2753, allocations: 0 / 370.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.2755, allocations: 63.25 kB / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.2756, allocations: 85.11 kB / 371.1 MB, free: 8.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.2756, allocations: 93.81 kB / 371.1 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2757, allocations: 25.7 kB / 371.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.2758, allocations: 150.6 kB / 371.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.2758, allocations: 8.062 kB / 371.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-06/0.2758, allocations: 0 / 371.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.276, allocations: 314.8 kB / 371.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.276, allocations: 4 kB / 371.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-06/0.276, allocations: 0 / 371.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.276, allocations: 29.7 kB / 371.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-06/0.2761, allocations: 0 / 371.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.95e-05/0.2762, allocations: 63.41 kB / 371.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.2762, allocations: 34.88 kB / 371.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.59e-06/0.2762, allocations: 11.94 kB / 371.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2763, allocations: 0 / 371.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.571e-06/0.2763, allocations: 0 / 371.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.621e-06/0.2763, allocations: 0 / 371.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.2763, allocations: 0 / 371.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2763, allocations: 3.953 kB / 371.8 MB, free: 7.992 MB / 298.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.0001051/0.2764, allocations: 135.5 kB / 371.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.2765, allocations: 0 / 371.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.154e-06/0.2765, allocations: 7.062 kB / 371.9 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-06/0.2765, allocations: 4 kB / 371.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2765, allocations: 0 / 371.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.742e-06/0.2765, allocations: 7.984 kB / 371.9 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2767, allocations: 145.6 kB / 372.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-06/0.2767, allocations: 0 / 372.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-06/0.2767, allocations: 0 / 372.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.417e-06/0.2767, allocations: 0 / 372.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.243e-06/0.2767, allocations: 4 kB / 372.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2767, allocations: 4 kB / 372.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-06/0.2767, allocations: 0 / 372.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.2769, allocations: 94.78 kB / 372.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.2769, allocations: 85.11 kB / 372.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2769, allocations: 0 / 372.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.277, allocations: 0 / 372.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.277, allocations: 3.984 kB / 372.3 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.277, allocations: 3.984 kB / 372.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.2771, allocations: 75.28 kB / 372.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.83e-06/0.2771, allocations: 8.031 kB / 372.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.2774, allocations: 47.94 kB / 372.4 MB, free: 7.273 MB / 298.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.0004429/0.2779, allocations: 193.2 kB / 372.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.82e-05/0.278, allocations: 67.39 kB / 372.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.638e-06/0.278, allocations: 0 / 372.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.2781, allocations: 51.41 kB / 372.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.772e-05/0.2782, allocations: 12.08 kB / 372.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.2784, allocations: 96.47 kB / 372.8 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.2787, allocations: 0.6777 MB / 373.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.2787, allocations: 7.438 kB / 373.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of SimCode: time 1.317e-06/0.2788, allocations: 0 / 373.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of Templates: time 0.003803/0.2826, allocations: 1.5 MB / 375 MB, free: 4.598 MB / 298.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=5 -DSUNDIALS_MINOR_VERSION=4 -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:705:19: error: expected \')\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:705:10: note: to match this \'(\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:705: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'