Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001428, allocations: 186 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 89.69 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5057/0.5057, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.000476, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5815, allocations: 84.96 MB / 0.5617 GB, free: 1.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5818, allocations: 60.84 kB / 0.5617 GB, free: 1.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008383/0.5902, allocations: 2.167 MB / 0.5639 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5902, allocations: 2.281 kB / 0.5639 GB, free: 15.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.5903, allocations: 0 / 0.5639 GB, free: 15.56 MB / 394.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.0004455/0.5907, allocations: 362.2 kB / 0.5642 GB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5908, allocations: 12.03 kB / 0.5642 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.5908, allocations: 7.422 kB / 0.5642 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.5909, allocations: 159.7 kB / 0.5644 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.591, allocations: 0 / 0.5644 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.591, allocations: 4.75 kB / 0.5644 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.626e-05/0.5911, allocations: 35.92 kB / 0.5644 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.5911, allocations: 0 / 0.5644 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.5911, allocations: 0 / 0.5644 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5912, allocations: 0 / 0.5644 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.5912, allocations: 5.016 kB / 0.5644 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.5914, allocations: 161.6 kB / 0.5646 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.5914, allocations: 14.58 kB / 0.5646 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.5914, allocations: 0 / 0.5646 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.341e-05/0.5915, allocations: 64.3 kB / 0.5646 GB, free: 14.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.5915, allocations: 0 / 0.5646 GB, free: 14.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002179/0.5918, allocations: 72 kB / 0.5647 GB, free: 14.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5918, allocations: 77.11 kB / 0.5648 GB, free: 14.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.5919, allocations: 89.12 kB / 0.5649 GB, free: 14.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5919, allocations: 26.92 kB / 0.5649 GB, free: 14.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.592, allocations: 150.6 kB / 0.565 GB, free: 14.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.592, allocations: 0.9375 kB / 0.565 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/0.592, allocations: 0 / 0.565 GB, free: 14.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5922, allocations: 314.8 kB / 0.5653 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.5922, allocations: 0 / 0.5653 GB, free: 13.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.5922, allocations: 0 / 0.5653 GB, free: 13.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/0.5923, allocations: 37.7 kB / 0.5654 GB, free: 13.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5923, allocations: 0 / 0.5654 GB, free: 13.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.5924, allocations: 67.34 kB / 0.5654 GB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.5924, allocations: 33.7 kB / 0.5655 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5925, allocations: 0 / 0.5655 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5925, allocations: 0 / 0.5655 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.5925, allocations: 2.812 kB / 0.5655 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.5925, allocations: 0.625 kB / 0.5655 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.5925, allocations: 0 / 0.5655 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5926, allocations: 0 / 0.5655 GB, free: 13.66 MB / 394.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.000116/0.5927, allocations: 147.5 kB / 0.5656 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.5927, allocations: 3.953 kB / 0.5656 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.443e-05/0.5927, allocations: 3.125 kB / 0.5656 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5927, allocations: 0 / 0.5656 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.5928, allocations: 4 kB / 0.5656 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5928, allocations: 3.938 kB / 0.5656 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.5929, allocations: 149.7 kB / 0.5658 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5929, allocations: 0 / 0.5658 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.5929, allocations: 0 / 0.5658 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5929, allocations: 3.953 kB / 0.5658 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.593, allocations: 7.125 kB / 0.5658 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.593, allocations: 4 kB / 0.5658 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.593, allocations: 3.938 kB / 0.5658 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.5932, allocations: 88.86 kB / 0.5659 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.5932, allocations: 81.11 kB / 0.566 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.5933, allocations: 3.953 kB / 0.566 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.5933, allocations: 0 / 0.566 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.5933, allocations: 4.031 kB / 0.566 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.5933, allocations: 0 / 0.566 GB, free: 13.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.5934, allocations: 77.75 kB / 0.566 GB, free: 12.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5934, allocations: 4 kB / 0.566 GB, free: 12.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004811/0.5939, allocations: 55.98 kB / 0.5661 GB, free: 12.93 MB / 394.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.0006496/0.5946, allocations: 194.1 kB / 0.5663 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.5947, allocations: 63.34 kB / 0.5663 GB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5947, allocations: 0 / 0.5663 GB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.5948, allocations: 59.39 kB / 0.5664 GB, free: 12.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.5949, allocations: 4.484 kB / 0.5664 GB, free: 12.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.5951, allocations: 103.2 kB / 0.5665 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.5954, allocations: 0.6731 MB / 0.5672 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.5955, allocations: 11.44 kB / 0.5672 GB, free: 11.75 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5955, allocations: 3.938 kB / 0.5672 GB, free: 11.75 MB / 394.7 MB Notification: Performance of Templates: time 0.005732/0.6012, allocations: 1.764 MB / 0.5689 GB, free: 10 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile make -j1 -f ModelicaTest_3.2.3_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:739:19: error: expected \')\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:739:10: note: to match this \'(\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.3_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.3_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o] Error 1\n'