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.001518/0.001518, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 84.42 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3055/0.3055, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.553e-05/1.563e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4131, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5742, allocations: 84.21 MB / 0.5481 GB, free: 15.11 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5745, allocations: 59.97 kB / 0.5482 GB, free: 15.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009196/0.5838, allocations: 2.157 MB / 0.5503 GB, free: 12.89 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5838, allocations: 4 kB / 0.5503 GB, free: 12.89 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.5838, allocations: 0 / 0.5503 GB, free: 12.89 MB / 395.1 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.0004585/0.5843, allocations: 364.2 kB / 0.5506 GB, free: 12.48 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5844, allocations: 8.031 kB / 0.5506 GB, free: 12.47 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.5844, allocations: 0 / 0.5506 GB, free: 12.47 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5845, allocations: 167 kB / 0.5508 GB, free: 12.27 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5846, allocations: 0.5469 kB / 0.5508 GB, free: 12.27 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.5846, allocations: 0 / 0.5508 GB, free: 12.27 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.14e-05/0.5847, allocations: 7.938 kB / 0.5508 GB, free: 12.26 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.186e-05/0.5847, allocations: 29.7 kB / 0.5508 GB, free: 12.23 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5848, allocations: 0 / 0.5508 GB, free: 12.23 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.5848, allocations: 3.938 kB / 0.5508 GB, free: 12.22 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5848, allocations: 0 / 0.5508 GB, free: 12.22 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.5849, allocations: 134.2 kB / 0.551 GB, free: 12.05 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.585, allocations: 18.58 kB / 0.551 GB, free: 12.03 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.585, allocations: 4.859 kB / 0.551 GB, free: 12.02 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.585, allocations: 0 / 0.551 GB, free: 12.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.5851, allocations: 64.36 kB / 0.5511 GB, free: 11.94 MB / 395.1 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.5851, allocations: 3.938 kB / 0.5511 GB, free: 11.94 MB / 395.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001858/0.5853, allocations: 33.64 kB / 0.5511 GB, free: 11.9 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5854, allocations: 77.11 kB / 0.5512 GB, free: 11.8 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.5855, allocations: 89 kB / 0.5513 GB, free: 11.71 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5855, allocations: 29.69 kB / 0.5513 GB, free: 11.68 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.5856, allocations: 150.6 kB / 0.5514 GB, free: 11.53 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.5856, allocations: 4.031 kB / 0.5514 GB, free: 11.52 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.5856, allocations: 4 kB / 0.5514 GB, free: 11.52 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5858, allocations: 310.8 kB / 0.5517 GB, free: 11.21 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.5858, allocations: 0 / 0.5517 GB, free: 11.21 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.5858, allocations: 4 kB / 0.5517 GB, free: 11.2 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.5858, allocations: 0 / 0.5517 GB, free: 11.2 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5859, allocations: 0 / 0.5517 GB, free: 11.2 MB / 395.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.193e-05/0.586, allocations: 37.66 kB / 0.5518 GB, free: 11.16 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.586, allocations: 37.62 kB / 0.5518 GB, free: 11.12 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.586, allocations: 8.078 kB / 0.5518 GB, free: 11.11 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5861, allocations: 0 / 0.5518 GB, free: 11.11 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.374e-06/0.5861, allocations: 0 / 0.5518 GB, free: 11.11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5861, allocations: 0 / 0.5518 GB, free: 11.11 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.5861, allocations: 0 / 0.5518 GB, free: 11.11 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5861, allocations: 4 kB / 0.5518 GB, free: 11.11 MB / 395.1 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.0001035/0.5863, allocations: 126.7 kB / 0.5519 GB, free: 10.97 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.5863, allocations: 3.953 kB / 0.5519 GB, free: 10.96 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.723e-05/0.5863, allocations: 11.75 kB / 0.552 GB, free: 10.95 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5863, allocations: 4 kB / 0.552 GB, free: 10.95 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5863, allocations: 4 kB / 0.552 GB, free: 10.95 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5864, allocations: 0 / 0.552 GB, free: 10.95 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.5865, allocations: 126.2 kB / 0.5521 GB, free: 10.79 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5865, allocations: 0 / 0.5521 GB, free: 10.79 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.5865, allocations: 3.938 kB / 0.5521 GB, free: 10.78 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.5865, allocations: 4 kB / 0.5521 GB, free: 10.78 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.5865, allocations: 0 / 0.5521 GB, free: 10.78 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5865, allocations: 3.953 kB / 0.5521 GB, free: 10.77 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5866, allocations: 0 / 0.5521 GB, free: 10.77 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.5867, allocations: 71.58 kB / 0.5522 GB, free: 10.69 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.5868, allocations: 81.05 kB / 0.5522 GB, free: 10.59 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.5868, allocations: 4 kB / 0.5522 GB, free: 10.59 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.5868, allocations: 0 / 0.5522 GB, free: 10.59 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.5868, allocations: 3.953 kB / 0.5522 GB, free: 10.58 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.5869, allocations: 0 / 0.5522 GB, free: 10.58 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.006e-05/0.5869, allocations: 75.28 kB / 0.5523 GB, free: 10.51 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5869, allocations: 0 / 0.5523 GB, free: 10.51 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.5874, allocations: 67.94 kB / 0.5524 GB, free: 10.44 MB / 395.1 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.000617/0.588, allocations: 186.2 kB / 0.5526 GB, free: 10.25 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.5882, allocations: 59.41 kB / 0.5526 GB, free: 10.18 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5882, allocations: 0 / 0.5526 GB, free: 10.18 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.5882, allocations: 59.39 kB / 0.5527 GB, free: 10.11 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.5884, allocations: 128 / 0.5527 GB, free: 10.11 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.5886, allocations: 73.72 kB / 0.5527 GB, free: 10.01 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5889, allocations: 0.6806 MB / 0.5534 GB, free: 9.301 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.589, allocations: 7.438 kB / 0.5534 GB, free: 9.293 MB / 395.1 MB Notification: Performance of SimCode: time 8.22e-07/0.589, allocations: 0 / 0.5534 GB, free: 9.293 MB / 395.1 MB Notification: Performance of Templates: time 0.005786/0.5948, allocations: 1.769 MB / 0.5551 GB, free: 7.523 MB / 395.1 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/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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'