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_3.2.3_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.483e-05/3.494e-05, allocations: 6.656 kB / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3171, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4526, allocations: 88.5 MB / 470.7 MB, free: 4.035 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4528, allocations: 67.97 kB / 470.8 MB, free: 3.969 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1248/0.5776, allocations: 28.95 MB / 499.7 MB, free: 6.973 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.247e-06/0.5777, allocations: 0 / 499.7 MB, free: 6.973 MB / 426.8 MB Notification: Performance of Transformations before backend: time 9.35e-05/0.5778, allocations: 19.94 kB / 499.7 MB, free: 6.953 MB / 426.8 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.002043/0.5799, allocations: 1.084 MB / 0.4891 GB, free: 5.781 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5799, allocations: 8.031 kB / 0.4891 GB, free: 5.773 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.5802, allocations: 98.78 kB / 0.4892 GB, free: 5.676 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.5821, allocations: 0.7337 MB / 0.4899 GB, free: 4.887 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.5822, allocations: 20.55 kB / 0.4899 GB, free: 4.867 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.5823, allocations: 24 kB / 0.4899 GB, free: 4.844 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.5831, allocations: 393.4 kB / 0.4903 GB, free: 4.402 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5831, allocations: 7.875 kB / 0.4903 GB, free: 4.395 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.5832, allocations: 19.98 kB / 0.4903 GB, free: 4.375 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.5832, allocations: 8 kB / 0.4903 GB, free: 4.367 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.5838, allocations: 199.8 kB / 0.4905 GB, free: 4.172 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.5867, allocations: 1.622 MB / 0.4921 GB, free: 2.473 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5878, allocations: 490.2 kB / 0.4926 GB, free: 1.922 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.5882, allocations: 194.9 kB / 0.4928 GB, free: 1.707 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.5882, allocations: 12 kB / 0.4928 GB, free: 1.695 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007376/0.589, allocations: 354.8 kB / 0.4931 GB, free: 1.309 MB / 426.8 MB Notification: Performance of pre-optimization done (n=48): time 4.084e-06/0.589, allocations: 0 / 0.4931 GB, free: 1.309 MB / 426.8 MB Notification: Performance of matching and sorting (n=48): time 0.001549/0.5906, allocations: 0.5236 MB / 0.4936 GB, free: 0.7773 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002786/0.5909, allocations: 449 kB / 0.4941 GB, free: 240 kB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.5929, allocations: 0.9454 MB / 0.495 GB, free: 15.26 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.5931, allocations: 49.69 kB / 0.495 GB, free: 15.21 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.5935, allocations: 377 kB / 0.4954 GB, free: 14.84 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.5937, allocations: 126.3 kB / 0.4955 GB, free: 14.71 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.5938, allocations: 8 kB / 0.4955 GB, free: 14.7 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.594, allocations: 333.9 kB / 0.4958 GB, free: 14.37 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.5944, allocations: 133.1 kB / 0.496 GB, free: 14.24 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.595, allocations: 362.2 kB / 0.4963 GB, free: 13.8 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.5954, allocations: 168.3 kB / 0.4965 GB, free: 13.63 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.364e-06/0.5954, allocations: 0 / 0.4965 GB, free: 13.63 MB / 442.8 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00135/0.5968, allocations: 0.5079 MB / 0.497 GB, free: 13.12 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.5968, allocations: 8 kB / 0.497 GB, free: 13.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5968, allocations: 8.234 kB / 0.497 GB, free: 13.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.5969, allocations: 12 kB / 0.497 GB, free: 13.09 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.5974, allocations: 91.83 kB / 0.4971 GB, free: 13 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.5974, allocations: 8 kB / 0.4971 GB, free: 12.99 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.5981, allocations: 71.66 kB / 0.4972 GB, free: 12.92 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.5981, allocations: 27.92 kB / 0.4972 GB, free: 12.89 MB / 442.8 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.0002508/0.5984, allocations: 177.3 kB / 0.4974 GB, free: 12.71 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.5987, allocations: 110.7 kB / 0.4975 GB, free: 12.61 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.6002, allocations: 0.5945 MB / 0.498 GB, free: 12 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.6003, allocations: 11.94 kB / 0.4981 GB, free: 11.99 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.117e-06/0.6003, allocations: 4 kB / 0.4981 GB, free: 11.99 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.6003, allocations: 7.984 kB / 0.4981 GB, free: 11.98 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.6015, allocations: 0.6729 MB / 0.4987 GB, free: 11.26 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.486e-06/0.6015, allocations: 0 / 0.4987 GB, free: 11.26 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.6017, allocations: 47.92 kB / 0.4988 GB, free: 11.21 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.6018, allocations: 7.953 kB / 0.4988 GB, free: 11.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.6018, allocations: 15.98 kB / 0.4988 GB, free: 11.19 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.6019, allocations: 4 kB / 0.4988 GB, free: 11.18 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6019, allocations: 4 kB / 0.4988 GB, free: 11.18 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.6033, allocations: 0.7246 MB / 0.4995 GB, free: 10.37 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.6037, allocations: 223.8 kB / 0.4997 GB, free: 10.13 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.6039, allocations: 24 kB / 0.4997 GB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.6045, allocations: 55.95 kB / 0.4998 GB, free: 10.05 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.6047, allocations: 47.94 kB / 0.4998 GB, free: 10 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-05/0.6047, allocations: 23.98 kB / 0.4999 GB, free: 9.98 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001541/0.6063, allocations: 0.7461 MB / 0.5006 GB, free: 9.219 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.83e-07/0.6063, allocations: 0 / 0.5006 GB, free: 9.219 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0009839/0.6073, allocations: 179.9 kB / 0.5008 GB, free: 9.043 MB / 442.8 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.001619/0.6089, allocations: 472.8 kB / 0.5012 GB, free: 8.648 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.6101, allocations: 408.3 kB / 0.5016 GB, free: 8.25 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.626e-06/0.6101, allocations: 0 / 0.5016 GB, free: 8.25 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.6108, allocations: 269.2 kB / 0.5019 GB, free: 7.988 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6124, allocations: 263 kB / 0.5021 GB, free: 7.73 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.6151, allocations: 1.114 MB / 0.5032 GB, free: 6.566 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/0.616, allocations: 1.009 MB / 0.5042 GB, free: 5.531 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0007975/0.6168, allocations: 197.7 kB / 0.5044 GB, free: 5.336 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.6172, allocations: 111.3 kB / 0.5045 GB, free: 5.227 MB / 442.8 MB Notification: Performance of SimCode: time 1.636e-06/0.6172, allocations: 0 / 0.5045 GB, free: 5.227 MB / 442.8 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}. Notification: Performance of Templates: time 0.03341/0.6506, allocations: 11.97 MB / 0.5162 GB, free: 9.246 MB / 458.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_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_3.2.3_ModelicaTest.Blocks.BooleanTable.o ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.c In file included from ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.c:7: In file included from ./ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_model.h:91: ./ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Blocks.BooleanTable.o' failed make: *** [ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.o] Error 1