Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.HalfAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.HalfAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007999/0.0007999, allocations: 89.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009088/0.0009089, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002434, allocations: 12 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.002754/0.1324, allocations: 1.75 MB / 360.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.1349, allocations: 0.9946 MB / 361.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.1352, allocations: 7.938 kB / 361.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1354, allocations: 23.78 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.1356, allocations: 35.66 kB / 361.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.1361, allocations: 79.91 kB / 361.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.1366, allocations: 323.1 kB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1369, allocations: 81.61 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1379, allocations: 0.7837 MB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.1382, allocations: 183.5 kB / 363 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.1382, allocations: 12 kB / 363.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.012e-05/0.1383, allocations: 12 kB / 363.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1385, allocations: 151.4 kB / 363.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1386, allocations: 141.3 kB / 363.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000796/0.1394, allocations: 0.7834 MB / 364.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1394, allocations: 0 / 364.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1394, allocations: 0 / 364.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1394, allocations: 0 / 364.1 MB, free: 8.762 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.001285/0.1407, allocations: 0.9746 MB / 365.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1408, allocations: 12.03 kB / 365.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.1409, allocations: 79.06 kB / 365.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.1414, allocations: 411.3 kB / 365.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.1415, allocations: 12 kB / 365.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.1415, allocations: 20 kB / 365.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.1421, allocations: 309.3 kB / 365.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1422, allocations: 0 / 365.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.1422, allocations: 8 kB / 365.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1422, allocations: 4 kB / 365.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.1427, allocations: 203.9 kB / 366.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.144, allocations: 0.8941 MB / 367 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.1444, allocations: 214.5 kB / 367.2 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.1447, allocations: 163.5 kB / 367.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1447, allocations: 0 / 367.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.1453, allocations: 389.8 kB / 367.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.1453, allocations: 0 / 367.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001344/0.1467, allocations: 0.737 MB / 368.5 MB, free: 4.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1468, allocations: 174.2 kB / 368.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.1481, allocations: 1 MB / 369.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.1482, allocations: 37.7 kB / 369.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1483, allocations: 153.8 kB / 369.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.1484, allocations: 51.41 kB / 369.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1484, allocations: 4 kB / 369.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1486, allocations: 334.8 kB / 370.3 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1488, allocations: 127.9 kB / 370.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.1491, allocations: 168.1 kB / 370.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1494, allocations: 230.7 kB / 370.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1495, allocations: 0 / 370.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009117/0.1504, allocations: 0.5818 MB / 371.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.1505, allocations: 142.8 kB / 371.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1505, allocations: 0 / 371.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1505, allocations: 4 kB / 371.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.1506, allocations: 16 kB / 371.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1506, allocations: 0 / 371.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1509, allocations: 35.91 kB / 371.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.1511, allocations: 115.9 kB / 371.7 MB, free: 0.8125 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.0006265/0.1517, allocations: 0.5259 MB / 372.2 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1518, allocations: 79.06 kB / 372.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.152, allocations: 130.4 kB / 372.4 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.152, allocations: 4.031 kB / 372.4 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.152, allocations: 96 / 372.4 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1521, allocations: 3.938 kB / 372.4 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2922/0.4442, allocations: 0.6198 MB / 373 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4443, allocations: 0.875 kB / 373 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.4445, allocations: 12.47 kB / 373 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.976e-05/0.4445, allocations: 5.031 kB / 373 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.4447, allocations: 28.22 kB / 373.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.4447, allocations: 6.516 kB / 373.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4447, allocations: 2.391 kB / 373.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.4465, allocations: 0.6902 MB / 373.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4476, allocations: 0.4954 MB / 374.3 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.4477, allocations: 21.84 kB / 374.3 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.448, allocations: 32.19 kB / 374.3 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.4483, allocations: 54.45 kB / 374.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/0.4485, allocations: 119.6 kB / 374.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001753/0.4503, allocations: 0.7342 MB / 375.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4503, allocations: 0 / 375.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007668/0.4511, allocations: 87.22 kB / 375.3 MB, free: 19.12 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.0003031/0.4514, allocations: 133 kB / 375.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.4529, allocations: 0.6535 MB / 376.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4529, allocations: 2.625 kB / 376.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.4535, allocations: 0.5369 MB / 376.6 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4546, allocations: 176.3 kB / 376.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.4577, allocations: 1.577 MB / 378.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.4585, allocations: 0.9693 MB / 379.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.4588, allocations: 94.45 kB / 379.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.455e-06/0.4588, allocations: 0 / 379.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of Templates: time 0.015/0.4738, allocations: 5.413 MB / 384.9 MB, free: 15.58 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.HalfAdder.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o] Error 1