Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008788/0.0008788, allocations: 99.52 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1967/0.1967, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.735e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1432, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5863, allocations: 89.4 MB / 0.5821 GB, free: 6.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.5866, allocations: 67.97 kB / 0.5821 GB, free: 6.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08362/0.6702, allocations: 29.43 MB / 0.6109 GB, free: 9.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6703, allocations: 0 / 0.6109 GB, free: 9.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.281e-05/0.6704, allocations: 20 kB / 0.6109 GB, free: 9.41 MB / 426.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.001859/0.6722, allocations: 1.08 MB / 0.6119 GB, free: 8.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.6723, allocations: 19.98 kB / 0.612 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.6725, allocations: 98.77 kB / 0.6121 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.674, allocations: 0.726 MB / 0.6128 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.6741, allocations: 12 kB / 0.6128 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.6741, allocations: 23.94 kB / 0.6128 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003662/0.6745, allocations: 177.1 kB / 0.613 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.6751, allocations: 377.3 kB / 0.6133 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6751, allocations: 4 kB / 0.6133 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.6752, allocations: 7.984 kB / 0.6133 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6752, allocations: 8 kB / 0.6133 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.6772, allocations: 1.564 MB / 0.6149 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.6779, allocations: 470.3 kB / 0.6153 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.6782, allocations: 178.9 kB / 0.6155 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.6782, allocations: 20.2 kB / 0.6155 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/0.6788, allocations: 358.2 kB / 0.6159 GB, free: 3.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.256e-06/0.6788, allocations: 0 / 0.6159 GB, free: 3.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009794/0.6798, allocations: 0.4962 MB / 0.6163 GB, free: 3.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/0.6801, allocations: 452.9 kB / 0.6168 GB, free: 2.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.6814, allocations: 0.9062 MB / 0.6177 GB, free: 1.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.6815, allocations: 33.7 kB / 0.6177 GB, free: 1.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.6818, allocations: 377.2 kB / 0.618 GB, free: 1.535 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6819, allocations: 122.4 kB / 0.6182 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.682, allocations: 0 / 0.6182 GB, free: 1.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.6821, allocations: 330 kB / 0.6185 GB, free: 1.086 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.6824, allocations: 125.1 kB / 0.6186 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.6828, allocations: 354.6 kB / 0.6189 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.683, allocations: 160.3 kB / 0.6191 GB, free: 376 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.6831, allocations: 0 / 0.6191 GB, free: 376 kB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007849/0.6838, allocations: 484.3 kB / 0.6195 GB, free: 15.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.6839, allocations: 8 kB / 0.6196 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.6839, allocations: 4 kB / 0.6196 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.6839, allocations: 12.25 kB / 0.6196 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.6843, allocations: 95.81 kB / 0.6197 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.6844, allocations: 11.95 kB / 0.6197 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.6848, allocations: 59.66 kB / 0.6197 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.6849, allocations: 24 kB / 0.6198 GB, free: 15.67 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.0001882/0.6851, allocations: 152.8 kB / 0.6199 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008218/0.6859, allocations: 0.5043 MB / 0.6204 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.686, allocations: 98.78 kB / 0.6205 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.687, allocations: 0.5593 MB / 0.621 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.687, allocations: 8 kB / 0.621 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.687, allocations: 8 kB / 0.621 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.687, allocations: 11.97 kB / 0.6211 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000786/0.6878, allocations: 0.6187 MB / 0.6217 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6879, allocations: 0 / 0.6217 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.688, allocations: 43.92 kB / 0.6217 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.688, allocations: 7.984 kB / 0.6217 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.6881, allocations: 16.48 kB / 0.6217 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.6881, allocations: 7.938 kB / 0.6217 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/0.6881, allocations: 7.953 kB / 0.6217 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.689, allocations: 0.6857 MB / 0.6224 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.6894, allocations: 227.7 kB / 0.6226 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6895, allocations: 19.94 kB / 0.6226 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.6899, allocations: 51.91 kB / 0.6227 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.69, allocations: 55.92 kB / 0.6228 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.6901, allocations: 23.98 kB / 0.6228 GB, free: 12.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009927/0.6911, allocations: 0.6992 MB / 0.6235 GB, free: 11.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6911, allocations: 0 / 0.6235 GB, free: 11.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007134/0.6918, allocations: 151.9 kB / 0.6236 GB, free: 11.55 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.002321/0.6941, allocations: 2.015 MB / 0.6256 GB, free: 9.535 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.6949, allocations: 391.6 kB / 0.6259 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6949, allocations: 0 / 0.6259 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.6953, allocations: 260.8 kB / 0.6262 GB, free: 8.898 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6965, allocations: 242.9 kB / 0.6264 GB, free: 8.664 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.6996, allocations: 1.254 MB / 0.6276 GB, free: 7.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008647/0.7005, allocations: 1.008 MB / 0.6286 GB, free: 6.309 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006529/0.7012, allocations: 209.7 kB / 0.6288 GB, free: 6.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.7017, allocations: 343.2 kB / 0.6292 GB, free: 5.766 MB / 442.7 MB Notification: Performance of SimCode: time 4.268e-06/0.7017, allocations: 0 / 0.6292 GB, free: 5.766 MB / 442.7 MB [CodegenCFunctions.tpl:3449:14-3449:14:writable] Error: Template error: literalExpConst failed: {}.