Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.209/2.209, allocations: 234.9 MB / 250.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 12 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3479, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006534/0.3486, allocations: 220.4 kB / 369.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.3496, allocations: 322.2 kB / 369.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.3496, allocations: 0 / 369.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.077e-06/0.3496, allocations: 0 / 369.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.3497, allocations: 0 / 369.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.3504, allocations: 135.7 kB / 369.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.537e-05/0.3505, allocations: 0 / 369.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.3505, allocations: 0 / 369.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.3505, allocations: 0 / 369.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.511e-05/0.3506, allocations: 3.984 kB / 369.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.3506, allocations: 4 kB / 369.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.3509, allocations: 139.7 kB / 370.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-06/0.3509, allocations: 0 / 370.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.351, allocations: 25.7 kB / 370.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.3512, allocations: 99.81 kB / 370.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3512, allocations: 0 / 370.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3512, allocations: 4 kB / 370.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.3512, allocations: 0 / 370.2 MB, free: 11.84 MB / 298.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.0003707/0.3516, allocations: 369 kB / 370.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3517, allocations: 8.031 kB / 370.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.3517, allocations: 30.56 kB / 370.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.3517, allocations: 7.906 kB / 370.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.3519, allocations: 159.1 kB / 370.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3519, allocations: 3.938 kB / 370.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3519, allocations: 7.984 kB / 370.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.352, allocations: 33.64 kB / 370.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.352, allocations: 0 / 370.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.352, allocations: 3.953 kB / 370.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3521, allocations: 4 kB / 370.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.3521, allocations: 3.984 kB / 370.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.3522, allocations: 149.7 kB / 371 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/0.3523, allocations: 22.55 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-06/0.3523, allocations: 0 / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.3524, allocations: 60.27 kB / 371 MB, free: 10.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.3524, allocations: 0 / 371 MB, free: 10.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000179/0.3526, allocations: 63.45 kB / 371.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.3526, allocations: 85.19 kB / 371.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.211e-05/0.3527, allocations: 89.86 kB / 371.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3527, allocations: 25.7 kB / 371.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3528, allocations: 154.6 kB / 371.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.3528, allocations: 0 / 371.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.3528, allocations: 0 / 371.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3529, allocations: 314.8 kB / 371.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.353, allocations: 0 / 371.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-06/0.353, allocations: 7.938 kB / 371.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.353, allocations: 37.75 kB / 371.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.353, allocations: 0 / 371.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.43e-05/0.3531, allocations: 63.34 kB / 371.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.3532, allocations: 29.7 kB / 371.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3532, allocations: 0 / 371.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3532, allocations: 0 / 371.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.3532, allocations: 0 / 371.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3532, allocations: 4 kB / 371.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.3533, allocations: 7.938 kB / 371.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3533, allocations: 0 / 371.9 MB, free: 9.867 MB / 298.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 9.388e-05/0.3534, allocations: 139.6 kB / 372 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.3534, allocations: 4 kB / 372 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.978e-06/0.3534, allocations: 3.125 kB / 372 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3534, allocations: 0 / 372 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3535, allocations: 0 / 372 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3535, allocations: 0 / 372 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3536, allocations: 153.6 kB / 372.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3536, allocations: 0 / 372.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.3536, allocations: 3.938 kB / 372.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3536, allocations: 4 kB / 372.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3536, allocations: 0 / 372.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3536, allocations: 0 / 372.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3537, allocations: 3.938 kB / 372.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.3538, allocations: 94.78 kB / 372.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.3538, allocations: 77.11 kB / 372.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3538, allocations: 0 / 372.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.3539, allocations: 8.031 kB / 372.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.3539, allocations: 0 / 372.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3539, allocations: 0 / 372.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.3539, allocations: 75.28 kB / 372.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.354, allocations: 0 / 372.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.3543, allocations: 51.98 kB / 372.5 MB, free: 9.156 MB / 298.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.0008271/0.3552, allocations: 0.7278 MB / 373.2 MB, free: 8.398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3553, allocations: 59.41 kB / 373.3 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3553, allocations: 0 / 373.3 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.3553, allocations: 55.41 kB / 373.3 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.682e-05/0.3555, allocations: 3.984 kB / 373.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.3558, allocations: 159.2 kB / 373.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3561, allocations: 0.6692 MB / 374.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.3561, allocations: 11.44 kB / 374.2 MB, free: 7.352 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3561, allocations: 0 / 374.2 MB, free: 7.352 MB / 298.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:705:19: error: expected ')' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:705:10: note: to match this '(' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:705:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented == 0)) ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o] Error 1