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.2_cpp_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.591e-05/4.605e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.436, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.00237/0.4385, allocations: 1.271 MB / 364.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.4407, allocations: 0.908 MB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.441, allocations: 5.938 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.4411, allocations: 8.734 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.4412, allocations: 19.14 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.4432, allocations: 455 kB / 365.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.4435, allocations: 104.6 kB / 365.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.4436, allocations: 2.062 kB / 365.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.4437, allocations: 80.8 kB / 365.7 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.4439, allocations: 77.12 kB / 365.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008573/0.4448, allocations: 304.3 kB / 366.1 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.445, allocations: 40.38 kB / 366.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.4451, allocations: 29.33 kB / 366.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.4452, allocations: 26.94 kB / 366.2 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007692/0.446, allocations: 313.8 kB / 366.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.446, allocations: 1.219 kB / 366.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.446, allocations: 0 / 366.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4461, allocations: 0 / 366.5 MB, free: 9.434 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001049/0.4471, allocations: 0.8892 MB / 367.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4472, allocations: 8.625 kB / 367.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.4473, allocations: 33.52 kB / 367.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.4475, allocations: 192.4 kB / 367.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.4476, allocations: 8.562 kB / 367.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.4477, allocations: 21.5 kB / 367.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.4482, allocations: 226.6 kB / 367.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4483, allocations: 5.125 kB / 367.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.4483, allocations: 7.062 kB / 367.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.4483, allocations: 5.266 kB / 367.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.4487, allocations: 109.5 kB / 368 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.4492, allocations: 319.1 kB / 368.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.4498, allocations: 274.5 kB / 368.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.4498, allocations: 6.312 kB / 368.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008681/0.4507, allocations: 0.5253 MB / 369.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 3.316e-06/0.4507, allocations: 1.312 kB / 369.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002626/0.4534, allocations: 1.421 MB / 370.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004384/0.4538, allocations: 0.6823 MB / 371.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.4541, allocations: 169.3 kB / 371.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4542, allocations: 41.7 kB / 371.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4544, allocations: 167.2 kB / 371.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.4545, allocations: 75.17 kB / 371.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.4546, allocations: 8 kB / 371.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4547, allocations: 326.8 kB / 371.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.455, allocations: 92.84 kB / 372 MB, free: 3.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.4554, allocations: 158.8 kB / 372.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.456, allocations: 0.5226 MB / 372.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.456, allocations: 0 / 372.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001478/0.4575, allocations: 0.8245 MB / 373.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.4578, allocations: 451.2 kB / 374 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4579, allocations: 11.98 kB / 374 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.4579, allocations: 4 kB / 374 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.458, allocations: 11.92 kB / 374 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.458, allocations: 4 kB / 374 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.4584, allocations: 39.78 kB / 374 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.4585, allocations: 23.94 kB / 374.1 MB, free: 1.453 MB / 298.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.0005318/0.459, allocations: 428.5 kB / 374.5 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4592, allocations: 39.72 kB / 374.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.4592, allocations: 12.94 kB / 374.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4592, allocations: 7.984 kB / 374.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.4593, allocations: 8.422 kB / 374.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4593, allocations: 4 kB / 374.6 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.4597, allocations: 301.2 kB / 374.9 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.4597, allocations: 8 kB / 374.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-06/0.4597, allocations: 3.984 kB / 374.9 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.4597, allocations: 4 kB / 374.9 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.4598, allocations: 20 kB / 374.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4598, allocations: 4 kB / 374.9 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.4598, allocations: 4 kB / 374.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.4618, allocations: 0.9338 MB / 375.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.462, allocations: 96.83 kB / 375.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.4621, allocations: 27.98 kB / 376 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.4626, allocations: 43.97 kB / 376 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.4627, allocations: 51.77 kB / 376 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.4628, allocations: 23.98 kB / 376.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.463, allocations: 124.2 kB / 376.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.463, allocations: 0 / 376.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008691/0.4639, allocations: 179.9 kB / 376.4 MB, free: 14.89 MB / 314.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.0008346/0.4648, allocations: 284.9 kB / 376.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.4664, allocations: 1.193 MB / 377.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4665, allocations: 0 / 377.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009927/0.4675, allocations: 0.7061 MB / 378.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.4678, allocations: 16.5 kB / 378.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.4692, allocations: 0.5259 MB / 379.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4696, allocations: 0.7406 MB / 379.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.4697, allocations: 15.44 kB / 379.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4697, allocations: 0 / 379.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of Templates: time 0.01184/0.4816, allocations: 4.356 MB / 384.2 MB, free: 6.695 MB / 314.7 MB make -j1 -f ModelicaTest_3.2.2_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.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.cpp:36: ./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o] Error 1