Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.index|booleanTable1.nextTime|booleanTable1.y|booleanTable2a.index|booleanTable2a.nextTime|booleanTable2a.y|booleanTable2b.index|booleanTable2b.nextTime|booleanTable2b.y|booleanTable3a.index|booleanTable3a.nextTime|booleanTable3a.y|booleanTable3b.index|booleanTable3b.nextTime|booleanTable3b.y|booleanTable3c.index|booleanTable3c.nextTime|booleanTable3c.y|booleanTable4a.index|booleanTable4a.nextTime|booleanTable4a.y|booleanTable4b.index|booleanTable4b.nextTime|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 1.861/1.861, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.365e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3337, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.002032/0.3358, allocations: 1.252 MB / 326.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3378, allocations: 0.91 MB / 327 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.3379, allocations: 8.969 kB / 327 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.066e-05/0.338, allocations: 9.156 kB / 327 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3381, allocations: 24.39 kB / 327 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.3399, allocations: 457 kB / 327.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.3401, allocations: 105 kB / 327.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3401, allocations: 1.438 kB / 327.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3402, allocations: 73.81 kB / 327.7 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3404, allocations: 81 kB / 327.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007872/0.3412, allocations: 306.8 kB / 328 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.3414, allocations: 41.28 kB / 328.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.3414, allocations: 21.69 kB / 328.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.3415, allocations: 27.75 kB / 328.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.3422, allocations: 314 kB / 328.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3422, allocations: 0 / 328.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3422, allocations: 0 / 328.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.3422, allocations: 0 / 328.4 MB, free: 1.527 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.0006464/0.3429, allocations: 0.8857 MB / 329.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.343, allocations: 9.938 kB / 329.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.3431, allocations: 26.19 kB / 329.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3432, allocations: 200.8 kB / 329.6 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.3432, allocations: 9.75 kB / 329.6 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.3433, allocations: 21.97 kB / 329.6 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.3438, allocations: 227.8 kB / 329.8 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3438, allocations: 7.938 kB / 329.8 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.3439, allocations: 8.062 kB / 329.8 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3439, allocations: 2.094 kB / 329.8 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3442, allocations: 108.2 kB / 329.9 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.3446, allocations: 325.6 kB / 330.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.3452, allocations: 277.6 kB / 330.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.3452, allocations: 5.938 kB / 330.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008017/0.346, allocations: 0.5236 MB / 331.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.346, allocations: 0 / 331.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.002326/0.3484, allocations: 1.42 MB / 332.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003955/0.3488, allocations: 0.6866 MB / 333.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.349, allocations: 162.7 kB / 333.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.3491, allocations: 44.84 kB / 333.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3492, allocations: 167 kB / 333.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3493, allocations: 75.95 kB / 333.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.3494, allocations: 6.344 kB / 333.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3495, allocations: 329.6 kB / 333.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.3498, allocations: 86.5 kB / 334 MB, free: 12.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.3501, allocations: 160.2 kB / 334.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.3507, allocations: 0.5257 MB / 334.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3507, allocations: 0.6562 kB / 334.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001281/0.352, allocations: 0.825 MB / 335.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000292/0.3523, allocations: 459.1 kB / 336 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3523, allocations: 7.297 kB / 336 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3523, allocations: 3.031 kB / 336 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.3524, allocations: 11.48 kB / 336 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3524, allocations: 3.469 kB / 336 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.3528, allocations: 45.17 kB / 336 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.3529, allocations: 25.08 kB / 336.1 MB, free: 10.58 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 () * 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.0005085/0.3534, allocations: 419.2 kB / 336.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3535, allocations: 40.81 kB / 336.5 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.3536, allocations: 16.69 kB / 336.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.3536, allocations: 3.422 kB / 336.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3536, allocations: 2.594 kB / 336.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3536, allocations: 2.953 kB / 336.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.354, allocations: 304.6 kB / 336.8 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.354, allocations: 1.906 kB / 336.8 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.354, allocations: 5 kB / 336.8 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.354, allocations: 6.281 kB / 336.8 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/0.3541, allocations: 23.05 kB / 336.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3541, allocations: 3.344 kB / 336.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/0.3542, allocations: 10.14 kB / 336.9 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.356, allocations: 0.9335 MB / 337.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.3561, allocations: 104.8 kB / 337.9 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.3562, allocations: 23.92 kB / 337.9 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.3566, allocations: 47.09 kB / 338 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3568, allocations: 37.3 kB / 338 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.3569, allocations: 26.36 kB / 338.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.357, allocations: 127.6 kB / 338.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3571, allocations: 1.406 kB / 338.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008694/0.3579, allocations: 176.8 kB / 338.3 MB, free: 8.977 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) * 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.0007256/0.3587, allocations: 276.5 kB / 338.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.3602, allocations: 1.192 MB / 339.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3602, allocations: 1.031 kB / 339.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009427/0.3612, allocations: 0.7101 MB / 340.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3614, allocations: 22.91 kB / 340.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3627, allocations: 0.5253 MB / 341.1 MB, free: 6.723 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3631, allocations: 0.7429 MB / 341.8 MB, free: 6.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.3632, allocations: 14.5 kB / 341.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of SimCode: time 3.968e-06/0.3632, allocations: 0 / 341.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of Templates: time 0.01091/0.3741, allocations: 4.357 MB / 346.2 MB, free: 4.484 MB / 282.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.makefile 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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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:36: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.cpp:190: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:263:37: error: use of undeclared identifier 'booleanTable4a_P_table_' _booleanTable4a_P_nextTime_ = booleanTable4a_P_table_(_booleanTable4a_P_index_) /*stmtAssign*/; ^ 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