Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 270 MB / 283.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.174e-05, allocations: 4 kB / 348.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3165, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4549, allocations: 90.12 MB / 0.4887 GB, free: 496 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4551, allocations: 67.97 kB / 0.4887 GB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1244/0.5796, allocations: 29.61 MB / 0.5176 GB, free: 2.758 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.887e-06/0.5796, allocations: 3.938 kB / 0.5176 GB, free: 2.754 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.534e-05/0.5797, allocations: 23.94 kB / 0.5177 GB, free: 2.73 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002005/0.5817, allocations: 1.088 MB / 0.5187 GB, free: 1.559 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5818, allocations: 12.03 kB / 0.5187 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.5821, allocations: 94.78 kB / 0.5188 GB, free: 1.453 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.5839, allocations: 0.7221 MB / 0.5195 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.584, allocations: 24.55 kB / 0.5196 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.5841, allocations: 27.95 kB / 0.5196 GB, free: 0.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.5849, allocations: 405.3 kB / 0.52 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5849, allocations: 0 / 0.52 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.585, allocations: 15.98 kB / 0.52 GB, free: 160 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.585, allocations: 4 kB / 0.52 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.278/0.863, allocations: 194.3 kB / 0.5202 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.866, allocations: 1.617 MB / 0.5218 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.867, allocations: 481.6 kB / 0.5222 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/0.8675, allocations: 192.7 kB / 0.5224 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.8675, allocations: 9.406 kB / 0.5224 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007309/0.8683, allocations: 372.7 kB / 0.5228 GB, free: 103.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.852e-06/0.8683, allocations: 0.5 kB / 0.5228 GB, free: 103.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001508/0.8698, allocations: 0.5265 MB / 0.5233 GB, free: 103.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.8699, allocations: 453.7 kB / 0.5237 GB, free: 102.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.8717, allocations: 0.9478 MB / 0.5246 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.8718, allocations: 48.89 kB / 0.5247 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.8722, allocations: 372.7 kB / 0.525 GB, free: 102.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.8723, allocations: 128.5 kB / 0.5252 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.8724, allocations: 12.19 kB / 0.5252 GB, free: 102.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.8724, allocations: 324.8 kB / 0.5255 GB, free: 102 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.8728, allocations: 139.3 kB / 0.5256 GB, free: 102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.8733, allocations: 366.7 kB / 0.526 GB, free: 101.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.8737, allocations: 169.8 kB / 0.5261 GB, free: 101.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.278e-06/0.8737, allocations: 1.969 kB / 0.5261 GB, free: 101.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001266/0.875, allocations: 0.5085 MB / 0.5266 GB, free: 101.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.875, allocations: 7.312 kB / 0.5266 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.8751, allocations: 4 kB / 0.5266 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.8751, allocations: 11.02 kB / 0.5266 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.8756, allocations: 95.39 kB / 0.5267 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.8756, allocations: 11.42 kB / 0.5267 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.8762, allocations: 77.78 kB / 0.5268 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.8763, allocations: 24.89 kB / 0.5268 GB, free: 101.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition8,$PRE.booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.y,booleanTable1.combiTimeTable.nextTimeEvent,$PRE.booleanTable1.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,$PRE.booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,$PRE.booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,$PRE.booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,$PRE.booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,$PRE.booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,$PRE.booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,$PRE.booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,$PRE.booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,$PRE.booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,$PRE.booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,$PRE.booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * 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.000194/0.8765, allocations: 170.7 kB / 0.527 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.8768, allocations: 103.2 kB / 0.5271 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.8781, allocations: 0.6042 MB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.8781, allocations: 7.531 kB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.8782, allocations: 3.953 kB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.8782, allocations: 7.078 kB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.8791, allocations: 0.6684 MB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.03e-06/0.8791, allocations: 5.25 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.8793, allocations: 44.77 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.084e-06/0.8793, allocations: 6.641 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-05/0.8794, allocations: 26.36 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.709e-06/0.8794, allocations: 5.531 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.343e-06/0.8794, allocations: 6.406 kB / 0.5285 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.8805, allocations: 0.7144 MB / 0.5292 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.8808, allocations: 226.2 kB / 0.5294 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.881, allocations: 20.09 kB / 0.5294 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.8815, allocations: 55.14 kB / 0.5294 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.8816, allocations: 51.81 kB / 0.5295 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.8817, allocations: 22.42 kB / 0.5295 GB, free: 100.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001225/0.8829, allocations: 0.7495 MB / 0.5302 GB, free: 100.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.883, allocations: 0 / 0.5302 GB, free: 100.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000782/0.8837, allocations: 176.2 kB / 0.5304 GB, free: 100.7 MB / 442.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.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 16 (booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.001489/0.8852, allocations: 490.7 kB / 0.5309 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008735/0.8861, allocations: 408.7 kB / 0.5313 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.8862, allocations: 3.25 kB / 0.5313 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.8867, allocations: 278.4 kB / 0.5315 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.8879, allocations: 244.6 kB / 0.5318 GB, free: 100.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.8899, allocations: 1.101 MB / 0.5328 GB, free: 99.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.8904, allocations: 1.008 MB / 0.5338 GB, free: 99.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005964/0.891, allocations: 196.9 kB / 0.534 GB, free: 99.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.8913, allocations: 113.5 kB / 0.5341 GB, free: 99.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.611e-06/0.8913, allocations: 0 / 0.5341 GB, free: 99.03 MB / 442.7 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}. Notification: Performance of Templates: time 0.02618/0.9175, allocations: 11.98 MB / 0.5458 GB, free: 94.54 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_BooleanTable -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.o ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.c In file included from ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.c:7: In file included from ./ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_model.h:91: ./ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_literals.h:24:2: error: "[CodegenCFunctions.tpl:3768:14-3768:14] literalExpConst failed: {}" #error "[CodegenCFunctions.tpl:3768:14-3768:14] literalExpConst failed: {}" ^ 1 error generated. : recipe for target 'ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.o' failed make: *** [ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.o] Error 1