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.001546/0.001545, allocations: 188.5 kB / 16.4 MB, free: 5.625 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.05/2.05, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001161/0.00116, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.3118/0.3118, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 16 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006777/0.1185, allocations: 216.7 kB / 490.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009668/0.1195, allocations: 319.8 kB / 490.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1195, allocations: 3.938 kB / 490.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.023e-05/0.1195, allocations: 0 / 490.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.795e-06/0.1196, allocations: 4 kB / 490.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.1204, allocations: 148.4 kB / 490.9 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 2.778e-05/0.1204, allocations: 0 / 490.9 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.1205, allocations: 0 / 490.9 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.242e-05/0.1205, allocations: 0 / 490.9 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.428e-05/0.1205, allocations: 4 kB / 490.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-06/0.1205, allocations: 0 / 490.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.1209, allocations: 135.7 kB / 491 MB, free: 8.531 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.1209, allocations: 3.984 kB / 491 MB, free: 8.527 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.1209, allocations: 25.7 kB / 491.1 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1212, allocations: 91.78 kB / 491.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1212, allocations: 8 kB / 491.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1212, allocations: 0 / 491.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1212, allocations: 0 / 491.2 MB, free: 8.398 MB / 330.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.0004181/0.1216, allocations: 365.1 kB / 491.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1217, allocations: 8.031 kB / 491.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.1217, allocations: 0 / 491.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1219, allocations: 163 kB / 491.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1219, allocations: 0 / 491.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1219, allocations: 4 kB / 491.7 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.122, allocations: 33.69 kB / 491.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.122, allocations: 0 / 491.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.122, allocations: 0 / 491.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1221, allocations: 0 / 491.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/0.1221, allocations: 7.938 kB / 491.7 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1223, allocations: 153.6 kB / 491.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.1223, allocations: 18.61 kB / 491.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1223, allocations: 3.984 kB / 491.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.1224, allocations: 60.27 kB / 492 MB, free: 7.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 3.687e-06/0.1224, allocations: 0 / 492 MB, free: 7.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.1226, allocations: 75.33 kB / 492 MB, free: 7.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1227, allocations: 77.11 kB / 492.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.1227, allocations: 89.86 kB / 492.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1228, allocations: 29.69 kB / 492.2 MB, free: 7.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1228, allocations: 150.6 kB / 492.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1229, allocations: 4.125 kB / 492.4 MB, free: 6.961 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1229, allocations: 4 kB / 492.4 MB, free: 6.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.123, allocations: 310.8 kB / 492.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.123, allocations: 0 / 492.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.123, allocations: 0 / 492.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.1231, allocations: 33.7 kB / 492.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1231, allocations: 0 / 492.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.718e-05/0.1232, allocations: 67.3 kB / 492.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.1233, allocations: 33.69 kB / 492.8 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1233, allocations: 4.094 kB / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1233, allocations: 0 / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.1233, allocations: 0 / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1233, allocations: 0 / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.1234, allocations: 4 kB / 492.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1234, allocations: 3.938 kB / 492.8 MB, free: 6.477 MB / 330.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.0001099/0.1235, allocations: 135.5 kB / 493 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.1235, allocations: 7.953 kB / 493 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.1235, allocations: 3.125 kB / 493 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1236, allocations: 7.984 kB / 493 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1236, allocations: 0 / 493 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1236, allocations: 0 / 493 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1237, allocations: 145.7 kB / 493.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1237, allocations: 0 / 493.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.1237, allocations: 4 kB / 493.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1237, allocations: 3.953 kB / 493.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1238, allocations: 0 / 493.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1238, allocations: 0 / 493.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.1238, allocations: 7.969 kB / 493.1 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1239, allocations: 94.78 kB / 493.2 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.124, allocations: 77.11 kB / 493.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.124, allocations: 7.938 kB / 493.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.124, allocations: 3.938 kB / 493.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.124, allocations: 4 kB / 493.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1241, allocations: 0 / 493.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.1241, allocations: 75.28 kB / 493.4 MB, free: 5.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1241, allocations: 4.031 kB / 493.4 MB, free: 5.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.1245, allocations: 48 kB / 493.4 MB, free: 5.75 MB / 330.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.0005268/0.125, allocations: 172.7 kB / 493.6 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1252, allocations: 59.39 kB / 493.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1252, allocations: 0 / 493.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.1252, allocations: 55.41 kB / 493.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.1253, allocations: 8.125 kB / 493.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.1256, allocations: 112.5 kB / 493.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1259, allocations: 0.6731 MB / 494.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.1259, allocations: 7.438 kB / 494.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1259, allocations: 0 / 494.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of Templates: time 0.004686/0.1306, allocations: 1.506 MB / 496 MB, free: 3.078 MB / 330.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=5 -DSUNDIALS_MINOR_VERSION=4 -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:705:19: error: expected \')\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:705:10: note: to match this \'(\'\n if (!(size(X) not implemented == 0))\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctionsFunctions.cpp:705: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'