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.001505/0.001505, allocations: 186 kB / 16.4 MB, free: 5.746 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.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001183/0.001183, allocations: 100.9 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.55/0.55, allocations: 43.54 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004882, allocations: 12 kB / 431.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1391, allocations: 58.86 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4845/0.6237, allocations: 84.96 MB / 0.5618 GB, free: 1.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.624, allocations: 60.84 kB / 0.5618 GB, free: 1.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008367/0.6324, allocations: 2.169 MB / 0.564 GB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6324, allocations: 0.5625 kB / 0.564 GB, free: 15.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.6325, allocations: 0 / 0.564 GB, free: 15.41 MB / 394.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.0004829/0.633, allocations: 371.9 kB / 0.5643 GB, free: 15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.633, allocations: 12.59 kB / 0.5643 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.6331, allocations: 37.69 kB / 0.5644 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.6331, allocations: 3.438 kB / 0.5644 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6333, allocations: 165.7 kB / 0.5645 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.6333, allocations: 0 / 0.5645 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.6333, allocations: 4 kB / 0.5645 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.6334, allocations: 29.64 kB / 0.5646 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6335, allocations: 0 / 0.5646 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.6335, allocations: 0 / 0.5646 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6335, allocations: 5.031 kB / 0.5646 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.6335, allocations: 8 kB / 0.5646 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.6337, allocations: 149.6 kB / 0.5647 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.6338, allocations: 14.67 kB / 0.5647 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.6338, allocations: 4 kB / 0.5647 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.6339, allocations: 60.2 kB / 0.5648 GB, free: 14.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.054e-06/0.6339, allocations: 0 / 0.5648 GB, free: 14.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002121/0.6341, allocations: 71.39 kB / 0.5649 GB, free: 14.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.6342, allocations: 77.11 kB / 0.5649 GB, free: 14.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.6343, allocations: 85 kB / 0.565 GB, free: 14.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.6343, allocations: 25.7 kB / 0.565 GB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.6344, allocations: 150.6 kB / 0.5652 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.6344, allocations: 4.938 kB / 0.5652 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.6344, allocations: 0 / 0.5652 GB, free: 13.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6346, allocations: 310.8 kB / 0.5655 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.6346, allocations: 8.125 kB / 0.5655 GB, free: 13.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.6346, allocations: 0 / 0.5655 GB, free: 13.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.6347, allocations: 33.64 kB / 0.5655 GB, free: 13.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6347, allocations: 3.953 kB / 0.5655 GB, free: 13.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.985e-05/0.6348, allocations: 59.39 kB / 0.5656 GB, free: 13.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.6349, allocations: 33.7 kB / 0.5656 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6349, allocations: 0 / 0.5656 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6349, allocations: 1.031 kB / 0.5656 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.6349, allocations: 0 / 0.5656 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.635, allocations: 4.094 kB / 0.5656 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.635, allocations: 0 / 0.5656 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.635, allocations: 4 kB / 0.5656 GB, free: 13.46 MB / 394.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.0001269/0.6351, allocations: 142.1 kB / 0.5658 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.6352, allocations: 13.92 kB / 0.5658 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.6352, allocations: 14.23 kB / 0.5658 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6352, allocations: 0 / 0.5658 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.6352, allocations: 0 / 0.5658 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6352, allocations: 0 / 0.5658 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.6354, allocations: 149.6 kB / 0.5659 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6354, allocations: 0 / 0.5659 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.6354, allocations: 7.938 kB / 0.5659 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.6354, allocations: 4 kB / 0.5659 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.6354, allocations: 0 / 0.5659 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6355, allocations: 3.938 kB / 0.5659 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6355, allocations: 0 / 0.5659 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.6356, allocations: 90.83 kB / 0.566 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.6357, allocations: 85.12 kB / 0.5661 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6357, allocations: 3.953 kB / 0.5661 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.6357, allocations: 0 / 0.5661 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.6357, allocations: 0 / 0.5661 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.6358, allocations: 4 kB / 0.5661 GB, free: 12.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.6358, allocations: 75.28 kB / 0.5662 GB, free: 12.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6358, allocations: 0 / 0.5662 GB, free: 12.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000481/0.6363, allocations: 52 kB / 0.5662 GB, free: 12.73 MB / 394.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.0009913/0.6373, allocations: 0.7129 MB / 0.5669 GB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.6374, allocations: 55.41 kB / 0.567 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6375, allocations: 0 / 0.567 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.6375, allocations: 63.39 kB / 0.567 GB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.6376, allocations: 8.109 kB / 0.5671 GB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.6381, allocations: 156.8 kB / 0.5672 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.6384, allocations: 0.677 MB / 0.5679 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.6384, allocations: 7.438 kB / 0.5679 GB, free: 10.93 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6385, allocations: 3.938 kB / 0.5679 GB, free: 10.93 MB / 394.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=2 -DSUNDIALS_MINOR_VERSION=6 -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:739:19: error: expected ')' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:739:10: note: to match this '(' if (!(size(X) not implemented == 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctionsFunctions.cpp:739: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