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.002297/0.002296, allocations: 180.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001064/0.001064, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2816/0.2816, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.338e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 58.86 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6225, allocations: 84.87 MB / 0.5557 GB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.6227, allocations: 61.38 kB / 0.5557 GB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008134/0.6309, allocations: 2.168 MB / 0.5578 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.631, allocations: 0 / 0.5578 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.631, allocations: 0 / 0.5578 GB, free: 0.8516 MB / 362.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.0002961/0.6313, allocations: 360.2 kB / 0.5582 GB, free: 464 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.6313, allocations: 12.03 kB / 0.5582 GB, free: 452 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.6314, allocations: 0 / 0.5582 GB, free: 452 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.881e-05/0.6315, allocations: 171 kB / 0.5584 GB, free: 240 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.6315, allocations: 0 / 0.5584 GB, free: 240 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.6315, allocations: 4 kB / 0.5584 GB, free: 236 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.807e-05/0.6316, allocations: 25.7 kB / 0.5584 GB, free: 204 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6316, allocations: 0 / 0.5584 GB, free: 204 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.6316, allocations: 4 kB / 0.5584 GB, free: 200 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6316, allocations: 3.938 kB / 0.5584 GB, free: 196 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.6317, allocations: 4 kB / 0.5584 GB, free: 192 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.6318, allocations: 153.6 kB / 0.5585 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.6319, allocations: 26.48 kB / 0.5586 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.6319, allocations: 8.844 kB / 0.5586 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.6319, allocations: 0 / 0.5586 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.632, allocations: 56.27 kB / 0.5586 GB, free: 15.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.903e-06/0.632, allocations: 0 / 0.5586 GB, free: 15.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.6322, allocations: 63.47 kB / 0.5587 GB, free: 15.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.6322, allocations: 81.09 kB / 0.5588 GB, free: 15.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.921e-05/0.6323, allocations: 85 kB / 0.5588 GB, free: 15.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.6323, allocations: 29.64 kB / 0.5589 GB, free: 15.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.6324, allocations: 154.6 kB / 0.559 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.6324, allocations: 0 / 0.559 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.6324, allocations: 0 / 0.559 GB, free: 15.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6325, allocations: 310.8 kB / 0.5593 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.6326, allocations: 3.938 kB / 0.5593 GB, free: 15.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.6326, allocations: 8.031 kB / 0.5593 GB, free: 15.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.6326, allocations: 25.7 kB / 0.5594 GB, free: 15.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6326, allocations: 3.953 kB / 0.5594 GB, free: 15.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.622e-05/0.6327, allocations: 63.39 kB / 0.5594 GB, free: 15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.6328, allocations: 29.7 kB / 0.5594 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6328, allocations: 0 / 0.5594 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6328, allocations: 0 / 0.5594 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.6328, allocations: 0 / 0.5594 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.6328, allocations: 4 kB / 0.5595 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.6329, allocations: 4.094 kB / 0.5595 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.6329, allocations: 0 / 0.5595 GB, free: 14.95 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 8.311e-05/0.633, allocations: 130.6 kB / 0.5596 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.633, allocations: 7.953 kB / 0.5596 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.633, allocations: 7.062 kB / 0.5596 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.633, allocations: 3.984 kB / 0.5596 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6331, allocations: 0 / 0.5596 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6331, allocations: 0 / 0.5596 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.6332, allocations: 153.6 kB / 0.5597 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6332, allocations: 4 kB / 0.5597 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.6332, allocations: 7.891 kB / 0.5598 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6332, allocations: 0 / 0.5598 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.6332, allocations: 0 / 0.5598 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6333, allocations: 0 / 0.5598 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6333, allocations: 0 / 0.5598 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.6334, allocations: 93.02 kB / 0.5598 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.6335, allocations: 77.11 kB / 0.5599 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.6335, allocations: 7.984 kB / 0.5599 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.6335, allocations: 7.984 kB / 0.5599 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.6335, allocations: 0 / 0.5599 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.6336, allocations: 0 / 0.5599 GB, free: 14.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.027e-05/0.6336, allocations: 75.28 kB / 0.56 GB, free: 14.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6336, allocations: 0 / 0.56 GB, free: 14.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004326/0.634, allocations: 51.69 kB / 0.5601 GB, free: 14.24 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.0005826/0.6346, allocations: 209 kB / 0.5603 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.6348, allocations: 59.41 kB / 0.5603 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6348, allocations: 0 / 0.5603 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.6348, allocations: 58.84 kB / 0.5604 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.388e-05/0.6349, allocations: 0 / 0.5604 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.6351, allocations: 66.77 kB / 0.5604 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.6354, allocations: 0.677 MB / 0.5611 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.6354, allocations: 7.562 kB / 0.5611 GB, free: 13.1 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6354, allocations: 7.938 kB / 0.5611 GB, free: 13.09 MB / 378.7 MB Notification: Performance of Templates: time 0.005272/0.6407, allocations: 1.75 MB / 0.5628 GB, free: 11.34 MB / 378.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'