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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002481/0.002487, allocations: 189.2 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.376/2.376, 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.001206/0.001205, allocations: 110.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.3031/0.3031, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005039, allocations: 16 kB / 431.5 MB, free: 20.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1228, allocations: 58.87 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006574/0.1235, allocations: 216.7 kB / 490.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.1244, allocations: 327.7 kB / 490.9 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.1245, allocations: 0 / 490.9 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.668e-06/0.1245, allocations: 0 / 490.9 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1245, allocations: 0 / 490.9 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.1253, allocations: 135.7 kB / 491 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.103e-05/0.1254, allocations: 4 kB / 491 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.1254, allocations: 0 / 491 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.1254, allocations: 7.922 kB / 491 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.1255, allocations: 0 / 491 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1255, allocations: 0 / 491 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.1258, allocations: 131.8 kB / 491.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-06/0.1259, allocations: 0 / 491.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1259, allocations: 29.7 kB / 491.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.1262, allocations: 99.77 kB / 491.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1262, allocations: 0 / 491.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1262, allocations: 4 kB / 491.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1262, allocations: 0 / 491.3 MB, free: 8.309 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.0003823/0.1266, allocations: 357.1 kB / 491.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1266, allocations: 12.03 kB / 491.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.1267, allocations: 34.55 kB / 491.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.1268, allocations: 0 / 491.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1269, allocations: 163 kB / 491.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1269, allocations: 0 / 491.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1269, allocations: 0 / 491.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.127, allocations: 37.7 kB / 491.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1271, allocations: 3.938 kB / 491.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1271, allocations: 0 / 491.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1271, allocations: 0 / 491.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.1271, allocations: 4 kB / 491.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1273, allocations: 149.6 kB / 492 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.149e-05/0.1274, allocations: 14.58 kB / 492 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.1274, allocations: 96 / 492 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.1274, allocations: 68.2 kB / 492.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.1275, allocations: 0 / 492.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002022/0.1277, allocations: 71.33 kB / 492.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1277, allocations: 77.11 kB / 492.2 MB, free: 7.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.142e-05/0.1278, allocations: 89.86 kB / 492.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1278, allocations: 25.7 kB / 492.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.1279, allocations: 150.6 kB / 492.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1279, allocations: 0 / 492.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.128, allocations: 4.125 kB / 492.5 MB, free: 6.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1281, allocations: 318.8 kB / 492.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.1281, allocations: 0 / 492.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.1281, allocations: 0 / 492.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.1282, allocations: 29.7 kB / 492.8 MB, free: 6.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1282, allocations: 3.953 kB / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001057/0.1283, allocations: 67.31 kB / 492.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.1284, allocations: 37.14 kB / 492.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1284, allocations: 4.094 kB / 492.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1284, allocations: 3.938 kB / 492.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.1284, allocations: 0 / 492.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1284, allocations: 0 / 492.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1285, allocations: 0 / 492.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1285, allocations: 4 kB / 492.9 MB, free: 6.355 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.0001119/0.1286, allocations: 143.5 kB / 493.1 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.1286, allocations: 7.953 kB / 493.1 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.1286, allocations: 3.125 kB / 493.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1287, allocations: 8 kB / 493.1 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1287, allocations: 0 / 493.1 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1287, allocations: 0 / 493.1 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1288, allocations: 145.7 kB / 493.2 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1288, allocations: 0 / 493.2 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-06/0.1288, allocations: 3.953 kB / 493.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1288, allocations: 4 kB / 493.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1289, allocations: 0 / 493.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1289, allocations: 0 / 493.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1289, allocations: 0 / 493.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.129, allocations: 98.77 kB / 493.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1291, allocations: 81.05 kB / 493.4 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1291, allocations: 3.953 kB / 493.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.1291, allocations: 0 / 493.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1292, allocations: 3.984 kB / 493.4 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1292, allocations: 4 kB / 493.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.1292, allocations: 75.28 kB / 493.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1292, allocations: 0 / 493.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.1296, allocations: 52.02 kB / 493.6 MB, free: 5.625 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.0008649/0.1305, allocations: 0.7096 MB / 494.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1306, allocations: 55.44 kB / 494.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1307, allocations: 4.062 kB / 494.3 MB, free: 4.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.1307, allocations: 63.34 kB / 494.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.1308, allocations: 4.234 kB / 494.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.1312, allocations: 150 kB / 494.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1315, allocations: 0.6731 MB / 495.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.1316, allocations: 11.44 kB / 495.2 MB, free: 3.836 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1316, allocations: 0 / 495.2 MB, free: 3.836 MB / 330.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:705:19: error: expected ')' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:705:10: note: to match this '(' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_3_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_3_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsFMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsCalcHelperMain.o] Error 1