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.001143/0.001143, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 94.11 kB / 292.1 MB, free: 10.93 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.3567/0.3567, allocations: 44.2 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003465, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3759, allocations: 61.89 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.5043, allocations: 90.15 MB / 0.5977 GB, free: 4.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5046, allocations: 67.94 kB / 0.5977 GB, free: 4.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07993/0.5846, allocations: 29.73 MB / 0.6268 GB, free: 7.164 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5846, allocations: 0 / 0.6268 GB, free: 7.164 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.089e-05/0.5847, allocations: 20 kB / 0.6268 GB, free: 7.145 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.002008/0.5867, allocations: 1.302 MB / 0.6281 GB, free: 5.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5868, allocations: 8.031 kB / 0.6281 GB, free: 5.742 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.5869, allocations: 62.53 kB / 0.6281 GB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.587, allocations: 94.78 kB / 0.6282 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.5884, allocations: 0.7299 MB / 0.6289 GB, free: 4.793 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.5884, allocations: 24.55 kB / 0.6289 GB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.5885, allocations: 31.95 kB / 0.629 GB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.5891, allocations: 422.3 kB / 0.6294 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5891, allocations: 0 / 0.6294 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.5892, allocations: 11.98 kB / 0.6294 GB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5892, allocations: 4 kB / 0.6294 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.5896, allocations: 223.7 kB / 0.6296 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.5914, allocations: 1.614 MB / 0.6312 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.5924, allocations: 0.5332 MB / 0.6317 GB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.5924, allocations: 4 kB / 0.6317 GB, free: 1.734 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.593, allocations: 391.5 kB / 0.6321 GB, free: 1.316 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 1.883e-06/0.593, allocations: 0 / 0.6321 GB, free: 1.316 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001382/0.5944, allocations: 0.7089 MB / 0.6328 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.5946, allocations: 452.9 kB / 0.6332 GB, free: 56 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.5958, allocations: 0.9607 MB / 0.6341 GB, free: 15.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.5959, allocations: 45.69 kB / 0.6342 GB, free: 15.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.5962, allocations: 372.9 kB / 0.6345 GB, free: 14.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.5963, allocations: 130.3 kB / 0.6347 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.5963, allocations: 12 kB / 0.6347 GB, free: 14.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5964, allocations: 330 kB / 0.635 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.5967, allocations: 161 kB / 0.6351 GB, free: 14.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.5972, allocations: 367.3 kB / 0.6355 GB, free: 13.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.5976, allocations: 184.1 kB / 0.6357 GB, free: 13.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5976, allocations: 4 kB / 0.6357 GB, free: 13.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009434/0.5985, allocations: 0.5469 MB / 0.6362 GB, free: 12.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5986, allocations: 9.406 kB / 0.6362 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5986, allocations: 0 / 0.6362 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.5986, allocations: 11.95 kB / 0.6362 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.5989, allocations: 95.83 kB / 0.6363 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.599, allocations: 11.92 kB / 0.6363 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.5994, allocations: 83.84 kB / 0.6364 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.5994, allocations: 20 kB / 0.6364 GB, free: 12.61 MB / 458.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 () * Number of clocked 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.0003581/0.5998, allocations: 312 kB / 0.6367 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5999, allocations: 102.8 kB / 0.6368 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.6011, allocations: 0.6262 MB / 0.6374 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6011, allocations: 11.95 kB / 0.6375 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6011, allocations: 0 / 0.6375 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.6011, allocations: 7.984 kB / 0.6375 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.6018, allocations: 0.6768 MB / 0.6381 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6018, allocations: 0 / 0.6381 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.602, allocations: 51.86 kB / 0.6382 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.602, allocations: 4 kB / 0.6382 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.6021, allocations: 19.98 kB / 0.6382 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6021, allocations: 8.062 kB / 0.6382 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6021, allocations: 11.94 kB / 0.6382 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.6031, allocations: 0.7397 MB / 0.6389 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.6034, allocations: 219.8 kB / 0.6391 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.6035, allocations: 27.98 kB / 0.6392 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.6039, allocations: 59.92 kB / 0.6392 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.604, allocations: 47.92 kB / 0.6393 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.604, allocations: 23.98 kB / 0.6393 GB, free: 9.496 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009497/0.605, allocations: 0.7575 MB / 0.64 GB, free: 8.727 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.605, allocations: 0 / 0.64 GB, free: 8.727 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000602/0.6056, allocations: 171.8 kB / 0.6402 GB, free: 8.559 MB / 458.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) * Number of clocked states: 0 () * 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.002387/0.608, allocations: 2.176 MB / 0.6423 GB, free: 6.469 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000888/0.6089, allocations: 452.3 kB / 0.6428 GB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6089, allocations: 0 / 0.6428 GB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.6095, allocations: 292.2 kB / 0.643 GB, free: 5.742 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.6104, allocations: 248.9 kB / 0.6433 GB, free: 5.504 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/0.6181, allocations: 7.161 MB / 0.6503 GB, free: 14.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.6187, allocations: 1.008 MB / 0.6512 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005453/0.6193, allocations: 189.7 kB / 0.6514 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/0.6198, allocations: 351.2 kB / 0.6518 GB, free: 12.48 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6198, allocations: 0 / 0.6518 GB, free: 12.48 MB / 474.7 MB [CodegenCFunctions.tpl:3817:14-3817:14:writable] Error: Template error: literalExpConst failed: {}.