Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.781e-05, allocations: 0 / 347 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 61.89 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4527, allocations: 86.12 MB / 495 MB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.453, allocations: 59.97 kB / 495 MB, free: 4.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009443/0.4625, allocations: 2.431 MB / 497.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.121e-06/0.4625, allocations: 0 / 497.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.95e-06/0.4625, allocations: 0 / 497.5 MB, free: 2.02 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.000388/0.4629, allocations: 372.1 kB / 497.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.463, allocations: 8.031 kB / 497.8 MB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.463, allocations: 4 kB / 497.8 MB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.4632, allocations: 163.1 kB / 498 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4632, allocations: 0 / 498 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.4632, allocations: 7.953 kB / 498 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.026e-05/0.4633, allocations: 29.7 kB / 498 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.262e-06/0.4633, allocations: 0 / 498 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-06/0.4634, allocations: 0 / 498 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-06/0.4634, allocations: 0 / 498 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.4634, allocations: 7.938 kB / 498 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.4636, allocations: 149.7 kB / 498.2 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.4636, allocations: 18.61 kB / 498.2 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.4636, allocations: 4.859 kB / 498.2 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.4637, allocations: 4 kB / 498.2 MB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.4637, allocations: 60.22 kB / 498.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.972e-06/0.4637, allocations: 0 / 498.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.4639, allocations: 59.47 kB / 498.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.464, allocations: 85.03 kB / 498.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.102e-05/0.464, allocations: 88.91 kB / 498.5 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.4641, allocations: 29.7 kB / 498.5 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.4642, allocations: 154.5 kB / 498.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.4642, allocations: 8 kB / 498.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.4642, allocations: 0 / 498.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4644, allocations: 310.8 kB / 499 MB, free: 268 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-06/0.4644, allocations: 0 / 499 MB, free: 268 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-06/0.4644, allocations: 0 / 499 MB, free: 268 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.4645, allocations: 29.7 kB / 499 MB, free: 232 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-06/0.4645, allocations: 0 / 499 MB, free: 232 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.4646, allocations: 63.39 kB / 499.1 MB, free: 156 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.4646, allocations: 37.73 kB / 499.1 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.094e-06/0.4647, allocations: 0 / 499.1 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4647, allocations: 3.953 kB / 499.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.082e-06/0.4647, allocations: 0 / 499.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-06/0.4647, allocations: 0 / 499.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.4647, allocations: 4 kB / 499.1 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-06/0.4648, allocations: 0 / 499.1 MB, free: 104 kB / 410.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.0001258/0.4649, allocations: 130.7 kB / 499.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.4649, allocations: 7.938 kB / 499.3 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.4649, allocations: 7.125 kB / 499.3 MB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-06/0.465, allocations: 11.92 kB / 499.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.623e-06/0.465, allocations: 0 / 499.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-06/0.465, allocations: 0 / 499.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.4651, allocations: 141.7 kB / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4651, allocations: 0 / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-06/0.4651, allocations: 4 kB / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.698e-06/0.4652, allocations: 0 / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-06/0.4652, allocations: 0 / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-06/0.4652, allocations: 0 / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.112e-06/0.4652, allocations: 3.953 kB / 499.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.4653, allocations: 94.83 kB / 499.5 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.4654, allocations: 77.11 kB / 499.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4654, allocations: 0 / 499.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.4654, allocations: 7.984 kB / 499.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.4655, allocations: 4 kB / 499.6 MB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4655, allocations: 3.953 kB / 499.6 MB, free: 15.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.866e-05/0.4655, allocations: 75.28 kB / 499.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.4656, allocations: 4.031 kB / 499.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004011/0.466, allocations: 63.92 kB / 499.7 MB, free: 15.37 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.0005392/0.4665, allocations: 204.5 kB / 499.9 MB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.4666, allocations: 55.41 kB / 500 MB, free: 15.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.531e-06/0.4667, allocations: 3.938 kB / 500 MB, free: 15.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/0.4667, allocations: 63.47 kB / 0.4883 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.522e-05/0.4668, allocations: 4 kB / 0.4883 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/0.467, allocations: 74.94 kB / 0.4884 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.4674, allocations: 0.6692 MB / 0.4891 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.4674, allocations: 11.44 kB / 0.4891 GB, free: 14.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.437e-06/0.4674, allocations: 0 / 0.4891 GB, free: 14.21 MB / 426.7 MB Notification: Performance of Templates: time 0.004633/0.472, allocations: 1.896 MB / 0.4909 GB, free: 12.31 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -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)) ^ 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o] Error 1