Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.141/2.141, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004414, allocations: 15.94 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3711, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.002124/0.3733, allocations: 1.247 MB / 332.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3755, allocations: 1.018 MB / 333.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.3757, allocations: 5.156 kB / 333.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.3758, allocations: 12.48 kB / 333.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3759, allocations: 25.97 kB / 333.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.3781, allocations: 480 kB / 334 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.3785, allocations: 135.8 kB / 334.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.789e-05/0.3786, allocations: 16.69 kB / 334.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3787, allocations: 82.28 kB / 334.3 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3789, allocations: 84.08 kB / 334.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.3789, allocations: 13 kB / 334.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009175/0.3799, allocations: 321.7 kB / 334.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.3799, allocations: 23.75 kB / 334.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3801, allocations: 66.86 kB / 334.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.3808, allocations: 312.4 kB / 335.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3809, allocations: 1.25 kB / 335.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3809, allocations: 0 / 335.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3809, allocations: 0 / 335.1 MB, free: 4.605 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008463/0.3817, allocations: 0.9024 MB / 336 MB, free: 3.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3818, allocations: 9.438 kB / 336 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.3819, allocations: 45.16 kB / 336 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.382, allocations: 34.44 kB / 336.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3821, allocations: 194.5 kB / 336.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3822, allocations: 10.03 kB / 336.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.3822, allocations: 16.62 kB / 336.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.3828, allocations: 233.7 kB / 336.5 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3828, allocations: 3.938 kB / 336.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.3829, allocations: 8.531 kB / 336.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3829, allocations: 1.469 kB / 336.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.3832, allocations: 103.5 kB / 336.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.3836, allocations: 335.9 kB / 337 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.384, allocations: 266.3 kB / 337.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.384, allocations: 6.578 kB / 337.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007032/0.3847, allocations: 0.5348 MB / 337.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.257e-06/0.3848, allocations: 0 / 337.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002089/0.3869, allocations: 1.415 MB / 339.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.3871, allocations: 0.6834 MB / 339.9 MB, free: 4 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3874, allocations: 179 kB / 340 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.3875, allocations: 47.78 kB / 340.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3876, allocations: 165.8 kB / 340.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3878, allocations: 80.45 kB / 340.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.3878, allocations: 6.469 kB / 340.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.388, allocations: 327.3 kB / 340.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.3882, allocations: 86.22 kB / 340.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.3887, allocations: 165.1 kB / 340.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.3893, allocations: 0.5251 MB / 341.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.3893, allocations: 1.031 kB / 341.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001389/0.3907, allocations: 0.818 MB / 342.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.391, allocations: 454 kB / 342.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3911, allocations: 5.812 kB / 342.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.3911, allocations: 3.594 kB / 342.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3912, allocations: 13.38 kB / 342.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.3912, allocations: 3.594 kB / 342.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.3916, allocations: 45.08 kB / 342.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.3917, allocations: 22.92 kB / 342.8 MB, free: 13.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 56 ($whenCondition8,$PRE.booleanTable1.y,booleanTable1.y,$PRE.booleanTable1.nextTime,booleanTable1.nextTime,$PRE.booleanTable1.index,booleanTable1.index,$whenCondition7,$PRE.booleanTable2a.y,booleanTable2a.y,$PRE.booleanTable2a.nextTime,booleanTable2a.nextTime,$PRE.booleanTable2a.index,booleanTable2a.index,$whenCondition6,$PRE.booleanTable2b.y,booleanTable2b.y,$PRE.booleanTable2b.nextTime,booleanTable2b.nextTime,$PRE.booleanTable2b.index,booleanTable2b.index,$whenCondition5,$PRE.booleanTable3a.y,booleanTable3a.y,$PRE.booleanTable3a.nextTime,booleanTable3a.nextTime,$PRE.booleanTable3a.index,booleanTable3a.index,$whenCondition4,$PRE.booleanTable3b.y,booleanTable3b.y,$PRE.booleanTable3b.nextTime,booleanTable3b.nextTime,$PRE.booleanTable3b.index,booleanTable3b.index,$whenCondition3,$PRE.booleanTable3c.y,booleanTable3c.y,$PRE.booleanTable3c.nextTime,booleanTable3c.nextTime,$PRE.booleanTable3c.index,booleanTable3c.index,$whenCondition2,$PRE.booleanTable4a.y,booleanTable4a.y,$PRE.booleanTable4a.nextTime,booleanTable4a.nextTime,$PRE.booleanTable4a.index,booleanTable4a.index,$whenCondition1,$PRE.booleanTable4b.y,booleanTable4b.y,$PRE.booleanTable4b.nextTime,booleanTable4b.nextTime,$PRE.booleanTable4b.index,booleanTable4b.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 16 * 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.0005645/0.3922, allocations: 432.3 kB / 343.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3924, allocations: 35.47 kB / 343.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3924, allocations: 22.64 kB / 343.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3924, allocations: 2.25 kB / 343.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3924, allocations: 2.125 kB / 343.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3925, allocations: 3 kB / 343.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.3929, allocations: 303.1 kB / 343.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3929, allocations: 5.172 kB / 343.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-06/0.3929, allocations: 6.375 kB / 343.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.3929, allocations: 3.438 kB / 343.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.393, allocations: 22.23 kB / 343.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.393, allocations: 10.41 kB / 343.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.393, allocations: 2.406 kB / 343.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.3949, allocations: 0.8572 MB / 344.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.395, allocations: 99.34 kB / 344.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3952, allocations: 23.06 kB / 344.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.3956, allocations: 45.7 kB / 344.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.3958, allocations: 33.69 kB / 344.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.3959, allocations: 27.3 kB / 344.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.396, allocations: 129.4 kB / 344.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3961, allocations: 0 / 344.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009252/0.397, allocations: 178 kB / 345 MB, free: 11.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition7,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition6,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition5,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition4,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition3,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition2,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition1,booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index) * Number of discrete states: 32 (booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index,$whenCondition1,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition2,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition3,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition4,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition5,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition6,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition7,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition8) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 8 * 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.002934/0.3999, allocations: 1.574 MB / 346.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.4017, allocations: 1.189 MB / 347.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4017, allocations: 0 / 347.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.4028, allocations: 0.7142 MB / 348.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.4031, allocations: 22.16 kB / 348.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.4072, allocations: 1.572 MB / 350.1 MB, free: 7.523 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.4077, allocations: 0.7408 MB / 350.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4079, allocations: 46.23 kB / 350.8 MB, free: 6.758 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4079, allocations: 0 / 350.8 MB, free: 6.758 MB / 282.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_1_cpp_ModelicaTest_Blocks_BooleanTableCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTableCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTableCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTable.cpp:192:37: error: use of undeclared identifier 'booleanTable4b_P_table_' _booleanTable4b_P_nextTime_ = booleanTable4b_P_table_(_booleanTable4b_P_index_) /*stmtAssign*/; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTable.cpp:265:37: error: use of undeclared identifier 'booleanTable4a_P_table_' _booleanTable4a_P_nextTime_ = booleanTable4a_P_table_(_booleanTable4a_P_index_) /*stmtAssign*/; ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTableCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTableFMU.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_1_cpp_ModelicaTest_Blocks_BooleanTableCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTableCalcHelperMain.o] Error 1