Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_3.2.3_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.001116/0.001116, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001143/0.001144, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.1 MB / 224.6 MB, free: 12.49 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 51.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1496, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.00391/0.1535, allocations: 2.169 MB / 329.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.1563, allocations: 1.073 MB / 330.5 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1564, allocations: 7.938 kB / 330.5 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1567, allocations: 23.78 kB / 330.5 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1568, allocations: 35.72 kB / 330.6 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.1573, allocations: 115.8 kB / 330.7 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.1577, allocations: 339.1 kB / 331 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.158, allocations: 107.1 kB / 331.1 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.1591, allocations: 0.924 MB / 332 MB, free: 104 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1593, allocations: 187.2 kB / 332.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.054e-05/0.1594, allocations: 12 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.1595, allocations: 12 kB / 332.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1597, allocations: 151.3 kB / 332.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.16, allocations: 266.1 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.1607, allocations: 0.8032 MB / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1608, allocations: 0 / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1608, allocations: 0 / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1608, allocations: 8 kB / 333.4 MB, free: 14.67 MB / 286.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.001332/0.1621, allocations: 1.118 MB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1622, allocations: 8.031 kB / 334.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1623, allocations: 80 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.1628, allocations: 432 kB / 335.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.1629, allocations: 16.38 kB / 335.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.1629, allocations: 24.31 kB / 335.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.1636, allocations: 317.4 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1636, allocations: 0 / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.1637, allocations: 12 kB / 335.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1637, allocations: 4 kB / 335.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.1642, allocations: 207.9 kB / 335.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1655, allocations: 0.8746 MB / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.166, allocations: 218.5 kB / 336.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.1663, allocations: 156.8 kB / 336.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1664, allocations: 4 kB / 336.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.1671, allocations: 393.9 kB / 337.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1671, allocations: 0 / 337.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.00147/0.1686, allocations: 0.7336 MB / 338 MB, free: 9.859 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.1687, allocations: 174.1 kB / 338.2 MB, free: 9.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.1701, allocations: 1.004 MB / 339.2 MB, free: 8.637 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.1702, allocations: 33.7 kB / 339.2 MB, free: 8.598 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1703, allocations: 149.8 kB / 339.4 MB, free: 8.449 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.1704, allocations: 59.34 kB / 339.4 MB, free: 8.391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.1707, allocations: 173 kB / 339.6 MB, free: 8.215 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1709, allocations: 338.8 kB / 339.9 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.1712, allocations: 124 kB / 340 MB, free: 7.754 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1715, allocations: 164.2 kB / 340.2 MB, free: 7.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.1722, allocations: 485.7 kB / 340.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1722, allocations: 0 / 340.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009903/0.1732, allocations: 0.5743 MB / 341.2 MB, free: 6.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.1733, allocations: 146.7 kB / 341.4 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1733, allocations: 0 / 341.4 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1734, allocations: 4 kB / 341.4 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.1735, allocations: 8 kB / 341.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1735, allocations: 4 kB / 341.4 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.1738, allocations: 39.94 kB / 341.4 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.174, allocations: 115.9 kB / 341.6 MB, free: 6.098 MB / 286.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,Adder.XOR.G1.auxiliary_n,Adder.AND.G1.auxiliary_n,b.y,a.y,Adder.XOR.G2.t_next,Adder.XOR.G2.lh,Adder.XOR.G2.y_old,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.delayTime,Adder.XOR.G2.y,Adder.XOR.G2.x,$PRE.Adder.XOR.G2.x,$PRE.Adder.XOR.G1.auxiliary_n,$whenCondition2,$whenCondition1,Adder.AND.G2.t_next,Adder.AND.G2.lh,Adder.AND.G2.y_old,Adder.AND.G2.y_auxiliary,Adder.AND.G2.delayTime,Adder.AND.G2.y,Adder.AND.G2.x,$PRE.Adder.AND.G2.x,$PRE.Adder.AND.G1.auxiliary_n,$whenCondition4,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00061/0.1746, allocations: 0.5297 MB / 342.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.1747, allocations: 79.06 kB / 342.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.175, allocations: 138.3 kB / 342.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.175, allocations: 4 kB / 342.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.175, allocations: 0 / 342.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.175, allocations: 0 / 342.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.1758, allocations: 0.6258 MB / 342.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1758, allocations: 0 / 342.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.1758, allocations: 12 kB / 342.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1758, allocations: 0 / 342.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.1759, allocations: 24.11 kB / 343 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.1759, allocations: 4 kB / 343 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1759, allocations: 0 / 343 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.1771, allocations: 0.7095 MB / 343.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.1779, allocations: 495.7 kB / 344.2 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.178, allocations: 24 kB / 344.2 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1782, allocations: 23.97 kB / 344.2 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.1784, allocations: 51.95 kB / 344.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.1785, allocations: 111.9 kB / 344.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009817/0.1795, allocations: 0.7328 MB / 345.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1795, allocations: 7.938 kB / 345.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1799, allocations: 95.84 kB / 345.2 MB, free: 2.289 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.1801, allocations: 130.8 kB / 345.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.1812, allocations: 0.6582 MB / 346 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1812, allocations: 0 / 346 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.1818, allocations: 0.5288 MB / 346.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/0.1826, allocations: 179.3 kB / 346.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.1853, allocations: 1.637 MB / 348.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.186, allocations: 0.9677 MB / 349.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.1863, allocations: 99.23 kB / 349.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1863, allocations: 0 / 349.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Templates: time 0.009748/0.196, allocations: 5.418 MB / 354.8 MB, free: 8.461 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o] Error 1