Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009452/0.000945, allocations: 90.62 kB / 17.63 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 202 kB / 18.54 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002742, allocations: 8 kB / 307.3 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001887/0.1242, allocations: 1.195 MB / 360 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1261, allocations: 0.8543 MB / 360.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.1262, allocations: 3.938 kB / 360.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.809e-05/0.1262, allocations: 3.984 kB / 360.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.1263, allocations: 11.88 kB / 360.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1266, allocations: 35.95 kB / 360.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1267, allocations: 103.7 kB / 361 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1269, allocations: 20.22 kB / 361 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.1274, allocations: 499.1 kB / 361.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1276, allocations: 75.81 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1276, allocations: 4 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.467e-05/0.1277, allocations: 7.938 kB / 361.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.1277, allocations: 63.77 kB / 361.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.1278, allocations: 69.58 kB / 361.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1281, allocations: 299.2 kB / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1281, allocations: 0 / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1281, allocations: 0 / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1281, allocations: 4 kB / 362 MB, free: 10.89 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000722/0.1289, allocations: 0.649 MB / 362.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1289, allocations: 12.03 kB / 362.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.129, allocations: 39.53 kB / 362.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1293, allocations: 257.3 kB / 363 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1293, allocations: 15.89 kB / 363 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1293, allocations: 12 kB / 363 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.1296, allocations: 129.6 kB / 363.1 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1297, allocations: 0 / 363.1 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1297, allocations: 4 kB / 363.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1297, allocations: 0 / 363.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1298, allocations: 59.97 kB / 363.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.1305, allocations: 464.7 kB / 363.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1307, allocations: 98.55 kB / 363.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1308, allocations: 80.89 kB / 363.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1309, allocations: 0 / 363.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.1312, allocations: 218.1 kB / 364 MB, free: 8.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1312, allocations: 0 / 364 MB, free: 8.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007626/0.132, allocations: 479.9 kB / 364.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1321, allocations: 166.2 kB / 364.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.1327, allocations: 0.5051 MB / 365.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1327, allocations: 29.7 kB / 365.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.1328, allocations: 109 kB / 365.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.1329, allocations: 31.59 kB / 365.3 MB, free: 7.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.1329, allocations: 7.984 kB / 365.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.133, allocations: 322.8 kB / 365.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1332, allocations: 63.97 kB / 365.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1333, allocations: 69.67 kB / 365.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1335, allocations: 162.8 kB / 365.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1335, allocations: 4 kB / 365.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000521/0.134, allocations: 388.2 kB / 366.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/0.1341, allocations: 129.8 kB / 366.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1341, allocations: 0 / 366.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1342, allocations: 0 / 366.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.513e-05/0.1342, allocations: 8.031 kB / 366.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1342, allocations: 0 / 366.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.1344, allocations: 15.92 kB / 366.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/0.1344, allocations: 55.94 kB / 366.5 MB, free: 6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * 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.000376/0.1348, allocations: 366.9 kB / 366.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.1349, allocations: 39.64 kB / 366.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/0.135, allocations: 75.06 kB / 367 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.135, allocations: 0 / 367 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.135, allocations: 7.984 kB / 367 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.135, allocations: 7.938 kB / 367 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.136, allocations: 0.8134 MB / 367.8 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.136, allocations: 0 / 367.8 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-06/0.136, allocations: 0 / 367.8 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.136, allocations: 0 / 367.8 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.1361, allocations: 15.98 kB / 367.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1361, allocations: 0 / 367.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1361, allocations: 0 / 367.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.1367, allocations: 0.5444 MB / 368.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.1371, allocations: 252.5 kB / 368.6 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.1371, allocations: 8 kB / 368.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1373, allocations: 12 kB / 368.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1374, allocations: 27.97 kB / 368.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.1375, allocations: 55.98 kB / 368.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004865/0.138, allocations: 386.9 kB / 369.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.138, allocations: 4 kB / 369.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1383, allocations: 47.91 kB / 369.2 MB, free: 3.188 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * 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.000153/0.1384, allocations: 123 kB / 369.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.139, allocations: 441.5 kB / 369.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.139, allocations: 0 / 369.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.1393, allocations: 373.6 kB / 370.1 MB, free: 2.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.1399, allocations: 111.3 kB / 370.2 MB, free: 2.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.141, allocations: 0.7756 MB / 371 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.1415, allocations: 0.8063 MB / 371.8 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.1415, allocations: 11.44 kB / 371.8 MB, free: 424 kB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1415, allocations: 0 / 371.8 MB, free: 424 kB / 302.1 MB Notification: Performance of Templates: time 0.2385/0.38, allocations: 2.647 MB / 374.4 MB, free: 19.42 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.NXFERCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.o] Error 1