Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2822/0.2822, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.378e-05, allocations: 3.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.156, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5421/0.6981, allocations: 88.5 MB / 0.5593 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.6986, allocations: 69.88 kB / 0.5594 GB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1858/0.8844, allocations: 28.98 MB / 0.5877 GB, free: 6.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.8845, allocations: 0 / 0.5877 GB, free: 6.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002112/0.8847, allocations: 23.94 kB / 0.5877 GB, free: 6.34 MB / 394.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.004159/0.8889, allocations: 1.079 MB / 0.5887 GB, free: 5.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.024e-05/0.889, allocations: 15.95 kB / 0.5888 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.8893, allocations: 53.98 kB / 0.5888 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/0.8899, allocations: 102.8 kB / 0.5889 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.8939, allocations: 0.7287 MB / 0.5896 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.894, allocations: 23.56 kB / 0.5896 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.8941, allocations: 26.55 kB / 0.5897 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009837/0.8951, allocations: 410.3 kB / 0.5901 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8951, allocations: 3.938 kB / 0.5901 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.8952, allocations: 10.69 kB / 0.5901 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.8952, allocations: 4 kB / 0.5901 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.8958, allocations: 204.1 kB / 0.5903 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.9006, allocations: 1.627 MB / 0.5919 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.9023, allocations: 0.4973 MB / 0.5923 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.903, allocations: 183 kB / 0.5925 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.9031, allocations: 4 kB / 0.5925 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.9042, allocations: 375.4 kB / 0.5929 GB, free: 1.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 7.554e-06/0.9043, allocations: 3.984 kB / 0.5929 GB, free: 1.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.002458/0.9067, allocations: 0.5308 MB / 0.5934 GB, free: 1.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004685/0.9072, allocations: 452.4 kB / 0.5938 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.9108, allocations: 0.9491 MB / 0.5948 GB, free: 15.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.911, allocations: 44.33 kB / 0.5948 GB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.9115, allocations: 355.5 kB / 0.5951 GB, free: 15.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.9119, allocations: 138.3 kB / 0.5953 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.912, allocations: 10.31 kB / 0.5953 GB, free: 15.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9122, allocations: 333 kB / 0.5956 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.9128, allocations: 138.7 kB / 0.5957 GB, free: 15.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/0.9138, allocations: 350.6 kB / 0.5961 GB, free: 14.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.9146, allocations: 180 kB / 0.5962 GB, free: 14.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.9146, allocations: 3.953 kB / 0.5962 GB, free: 14.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00184/0.9165, allocations: 448.9 kB / 0.5967 GB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.9165, allocations: 8 kB / 0.5967 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.9166, allocations: 4.25 kB / 0.5967 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.9166, allocations: 8 kB / 0.5967 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.9176, allocations: 95.77 kB / 0.5968 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.9177, allocations: 11.94 kB / 0.5968 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.9191, allocations: 77.52 kB / 0.5969 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.9193, allocations: 23.31 kB / 0.5969 GB, free: 14 MB / 410.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.0003871/0.9198, allocations: 169.2 kB / 0.5971 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/0.9203, allocations: 105 kB / 0.5972 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.923, allocations: 0.6054 MB / 0.5977 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.923, allocations: 8 kB / 0.5978 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.923, allocations: 0 / 0.5978 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/0.9231, allocations: 11.98 kB / 0.5978 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.925, allocations: 0.67 MB / 0.5984 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.9251, allocations: 0 / 0.5984 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.9256, allocations: 55.8 kB / 0.5985 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/0.9256, allocations: 4 kB / 0.5985 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.9257, allocations: 18.98 kB / 0.5985 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.9258, allocations: 4 kB / 0.5985 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.9258, allocations: 7.938 kB / 0.5985 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.9283, allocations: 0.7152 MB / 0.5992 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.929, allocations: 220.2 kB / 0.5994 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003871/0.9294, allocations: 28.8 kB / 0.5994 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.9304, allocations: 53.66 kB / 0.5995 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.9306, allocations: 49.94 kB / 0.5995 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/0.9307, allocations: 23.17 kB / 0.5996 GB, free: 11.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002654/0.9334, allocations: 0.7435 MB / 0.6003 GB, free: 11.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.262e-06/0.9335, allocations: 0 / 0.6003 GB, free: 11.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001917/0.9354, allocations: 184.6 kB / 0.6005 GB, free: 10.91 MB / 410.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.004808/0.9402, allocations: 2.083 MB / 0.6025 GB, free: 8.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.9421, allocations: 421.7 kB / 0.6029 GB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.9422, allocations: 3.938 kB / 0.6029 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.9433, allocations: 271.4 kB / 0.6032 GB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.9461, allocations: 264.4 kB / 0.6034 GB, free: 8.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.9518, allocations: 1.36 MB / 0.6047 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.9529, allocations: 1.006 MB / 0.6057 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.9542, allocations: 349.1 kB / 0.6061 GB, free: 5.891 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.9542, allocations: 0 / 0.6061 GB, free: 5.891 MB / 410.7 MB [CodegenCpp.tpl:12105:14-12105:14:writable] Error: Template error: literalExpConst failed: {}. [CodegenCpp.tpl:12051:14-12051:14:writable] Error: Template error: literalExpConst failed: {}.