Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdder.conf.json 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/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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdder") translateModel(Modelica.Electrical.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 93 kB / 16.95 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 178.3 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.2 MB / 241.8 MB, free: 288 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003087, allocations: 4 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 50.42 MB / 351.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.002274/0.1442, allocations: 1.74 MB / 353.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1463, allocations: 0.9633 MB / 354.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.1464, allocations: 0 / 354.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1466, allocations: 31.78 kB / 354.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1467, allocations: 39.64 kB / 354.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.147, allocations: 75.91 kB / 354.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.1474, allocations: 323.1 kB / 355 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.1476, allocations: 81.64 kB / 355.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009095/0.1486, allocations: 0.7876 MB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.1488, allocations: 183.5 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.1489, allocations: 11.94 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.1489, allocations: 8 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1491, allocations: 143.5 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1492, allocations: 141.3 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.1499, allocations: 0.7874 MB / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.15, allocations: 0 / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.15, allocations: 0 / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.15, allocations: 4 kB / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00114/0.1511, allocations: 0.9823 MB / 358.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1512, allocations: 8.031 kB / 358.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.1513, allocations: 79.06 kB / 358.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.1518, allocations: 399.5 kB / 358.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.1519, allocations: 16 kB / 358.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.1519, allocations: 20 kB / 358.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.1525, allocations: 297.4 kB / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1525, allocations: 0 / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.1526, allocations: 23.94 kB / 359 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1526, allocations: 0 / 359 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.153, allocations: 207.9 kB / 359.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1544, allocations: 0.8826 MB / 360.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.1548, allocations: 226.5 kB / 360.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.1551, allocations: 156.8 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1552, allocations: 0 / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.1557, allocations: 385.8 kB / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.1558, allocations: 0 / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001389/0.1571, allocations: 0.7375 MB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.1573, allocations: 170.2 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.1588, allocations: 1 MB / 362.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.1589, allocations: 33.7 kB / 362.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.159, allocations: 157.8 kB / 362.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/0.1591, allocations: 51.34 kB / 362.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1592, allocations: 12 kB / 363 MB, free: 8.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1593, allocations: 334.8 kB / 363.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.1596, allocations: 127.9 kB / 363.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.1599, allocations: 160.2 kB / 363.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.1602, allocations: 222.7 kB / 363.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1602, allocations: 4 kB / 363.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00092/0.1611, allocations: 0.5935 MB / 364.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.1613, allocations: 134.8 kB / 364.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1613, allocations: 0 / 364.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1613, allocations: 4 kB / 364.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1614, allocations: 15.98 kB / 364.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1614, allocations: 7.938 kB / 364.5 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.1618, allocations: 27.97 kB / 364.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.1619, allocations: 116 kB / 364.7 MB, free: 6.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.Adder.XOR.G2.y,$PRE.Adder.AND.G2.y,a.y,b.y,Adder.AND.G1.auxiliary_n,Adder.XOR.G1.auxiliary_n,$whenCondition1,$whenCondition2,$PRE.Adder.XOR.G1.auxiliary_n,$PRE.Adder.XOR.G2.x,Adder.XOR.G2.x,Adder.XOR.G2.y,Adder.XOR.G2.delayTime,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.y_old,Adder.XOR.G2.lh,Adder.XOR.G2.t_next,$whenCondition3,$whenCondition4,$PRE.Adder.AND.G1.auxiliary_n,$PRE.Adder.AND.G2.x,Adder.AND.G2.x,Adder.AND.G2.y,Adder.AND.G2.delayTime,Adder.AND.G2.y_auxiliary,Adder.AND.G2.y_old,Adder.AND.G2.lh,Adder.AND.G2.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 4 * 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.0006648/0.1626, allocations: 0.522 MB / 365.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1627, allocations: 83.02 kB / 365.3 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.1629, allocations: 130.3 kB / 365.4 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1629, allocations: 3.938 kB / 365.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1629, allocations: 4 kB / 365.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1629, allocations: 3.984 kB / 365.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007656/0.1637, allocations: 0.6259 MB / 366 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1637, allocations: 7.953 kB / 366.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.1638, allocations: 11.98 kB / 366.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1638, allocations: 4 kB / 366.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.1639, allocations: 23.98 kB / 366.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1639, allocations: 4 kB / 366.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1639, allocations: 0 / 366.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.1649, allocations: 0.7002 MB / 366.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/0.1656, allocations: 0.4957 MB / 367.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.1657, allocations: 23.94 kB / 367.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1659, allocations: 31.97 kB / 367.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.1661, allocations: 51.94 kB / 367.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.1662, allocations: 115.9 kB / 367.5 MB, free: 3.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009447/0.1672, allocations: 0.7289 MB / 368.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1672, allocations: 4 kB / 368.2 MB, free: 3.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.1676, allocations: 87.91 kB / 368.3 MB, free: 2.969 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,a.y,b.y,Adder.AND.G1.auxiliary_n,Adder.AND.G2.x,Adder.AND.G2.y,Adder.AND.G2.delayTime,Adder.AND.G2.y_auxiliary,Adder.AND.G2.y_old,Adder.AND.G2.lh,Adder.AND.G2.t_next,Adder.XOR.G1.auxiliary_n,Adder.XOR.G2.x,Adder.XOR.G2.y,Adder.XOR.G2.delayTime,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.y_old,Adder.XOR.G2.lh,Adder.XOR.G2.t_next) * Number of discrete states: 22 (Adder.XOR.G1.auxiliary_n,Adder.AND.G1.auxiliary_n,Adder.XOR.G2.y,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.t_next,Adder.XOR.G2.delayTime,Adder.XOR.G2.lh,Adder.XOR.G2.y_old,$whenCondition2,$whenCondition1,Adder.XOR.G2.x,Adder.AND.G2.y,Adder.AND.G2.y_auxiliary,Adder.AND.G2.t_next,Adder.AND.G2.delayTime,Adder.AND.G2.lh,Adder.AND.G2.y_old,$whenCondition4,$whenCondition3,Adder.AND.G2.x,b.y,a.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0002023/0.1678, allocations: 142.7 kB / 368.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008887/0.1687, allocations: 0.6576 MB / 369.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1687, allocations: 4 kB / 369.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.1693, allocations: 0.5249 MB / 369.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.17, allocations: 166.1 kB / 369.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2561/0.4262, allocations: 1.577 MB / 371.4 MB, free: 24.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.4274, allocations: 0.9641 MB / 372.4 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.4279, allocations: 88.61 kB / 372.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4279, allocations: 1.875 kB / 372.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of Templates: time 0.02056/0.4485, allocations: 5.416 MB / 377.9 MB, free: 23.69 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdder.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdder.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o] Error 1