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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.167/2.167, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.3e-05, allocations: 11.94 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.277, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4005, allocations: 79.35 MB / 437.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4007, allocations: 55.97 kB / 437.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008318/0.4091, allocations: 2.158 MB / 439.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4091, allocations: 0 / 439.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.994e-06/0.4092, allocations: 0 / 439.6 MB, free: 13.26 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.000391/0.4096, allocations: 364.2 kB / 439.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4096, allocations: 12.03 kB / 440 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.4096, allocations: 3.953 kB / 440 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.4098, allocations: 159.1 kB / 440.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-06/0.4098, allocations: 0 / 440.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.4098, allocations: 0 / 440.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.338e-05/0.4099, allocations: 7.922 kB / 440.1 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.952e-05/0.41, allocations: 29.7 kB / 440.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-06/0.41, allocations: 3.938 kB / 440.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-06/0.41, allocations: 4 kB / 440.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-06/0.41, allocations: 3.953 kB / 440.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.4102, allocations: 126.2 kB / 440.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.4102, allocations: 18.61 kB / 440.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.4102, allocations: 8.859 kB / 440.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.679e-06/0.4103, allocations: 0 / 440.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.4103, allocations: 64.31 kB / 440.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.032e-06/0.4103, allocations: 4 kB / 440.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.4105, allocations: 37.59 kB / 440.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4106, allocations: 81.05 kB / 440.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.4106, allocations: 85 kB / 440.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4107, allocations: 25.7 kB / 440.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.4108, allocations: 150.6 kB / 440.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.4108, allocations: 4 kB / 440.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.4108, allocations: 0 / 440.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.411, allocations: 322.8 kB / 441.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.411, allocations: 0 / 441.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-06/0.411, allocations: 0 / 441.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.4111, allocations: 7.984 kB / 441.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-06/0.4111, allocations: 0 / 441.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.422e-05/0.4112, allocations: 29.7 kB / 441.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.4112, allocations: 33.7 kB / 441.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.898e-06/0.4112, allocations: 0 / 441.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4113, allocations: 3.984 kB / 441.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.726e-06/0.4113, allocations: 4.094 kB / 441.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.914e-06/0.4113, allocations: 0 / 441.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.4113, allocations: 3.938 kB / 441.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4113, allocations: 0 / 441.2 MB, free: 11.47 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.000112/0.4115, allocations: 138.6 kB / 441.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.4115, allocations: 3.938 kB / 441.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.4115, allocations: 7.703 kB / 441.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-06/0.4115, allocations: 0 / 441.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.858e-06/0.4115, allocations: 4 kB / 441.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4116, allocations: 4 kB / 441.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.4117, allocations: 126.2 kB / 441.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.083e-06/0.4117, allocations: 7.938 kB / 441.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.4117, allocations: 0 / 441.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4117, allocations: 0 / 441.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-06/0.4117, allocations: 0 / 441.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-06/0.4117, allocations: 7.938 kB / 441.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-06/0.4118, allocations: 0 / 441.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.4119, allocations: 57.14 kB / 441.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.412, allocations: 85.05 kB / 441.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.412, allocations: 0 / 441.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.493e-05/0.412, allocations: 8 kB / 441.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.412, allocations: 0 / 441.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4121, allocations: 0 / 441.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.4121, allocations: 75.28 kB / 441.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.83e-07/0.4121, allocations: 0 / 441.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004263/0.4126, allocations: 51.94 kB / 441.7 MB, free: 10.82 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.0005503/0.4131, allocations: 210 kB / 441.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.837e-05/0.4132, allocations: 55.41 kB / 442 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.4133, allocations: 4 kB / 442 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.4133, allocations: 55.41 kB / 442 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.787e-05/0.4134, allocations: 0 / 442 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001662/0.4136, allocations: 73.89 kB / 442.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.414, allocations: 0.6768 MB / 442.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.414, allocations: 7.438 kB / 442.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.44e-06/0.414, allocations: 0 / 442.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of Templates: time 0.004633/0.4186, allocations: 1.769 MB / 444.6 MB, free: 7.895 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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -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'