Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 94.52 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009455/0.0009455, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 227.3 MB / 246.6 MB, free: 10.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002712, allocations: 8 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001727/0.134, allocations: 1.195 MB / 360 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1358, allocations: 0.8504 MB / 360.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.1358, allocations: 0 / 360.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.856e-05/0.1359, allocations: 11.92 kB / 360.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.136, allocations: 11.86 kB / 360.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1362, allocations: 35.94 kB / 360.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1364, allocations: 99.77 kB / 361 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1365, allocations: 24.2 kB / 361 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.1372, allocations: 499.1 kB / 361.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1373, allocations: 75.77 kB / 361.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.1374, allocations: 0 / 361.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.1374, allocations: 4 kB / 361.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.1375, allocations: 67.77 kB / 361.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.1376, allocations: 65.58 kB / 361.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1379, allocations: 299.3 kB / 362 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.1379, allocations: 0 / 362 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1379, allocations: 3.938 kB / 362 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1379, allocations: 0 / 362 MB, free: 10.67 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.0007236/0.1387, allocations: 0.6608 MB / 362.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1387, allocations: 8.031 kB / 362.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.416e-05/0.1388, allocations: 35.53 kB / 362.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1391, allocations: 253.4 kB / 363 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1391, allocations: 19.89 kB / 363 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.1392, allocations: 8 kB / 363 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1395, allocations: 121.6 kB / 363.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1395, allocations: 4 kB / 363.1 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.1396, allocations: 3.938 kB / 363.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1396, allocations: 8 kB / 363.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1397, allocations: 55.97 kB / 363.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.1404, allocations: 476.6 kB / 363.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1406, allocations: 94.55 kB / 363.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1407, allocations: 84.89 kB / 363.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1407, allocations: 0 / 363.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.1411, allocations: 210.7 kB / 364 MB, free: 8.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1411, allocations: 3.938 kB / 364 MB, free: 8.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008083/0.1419, allocations: 479.4 kB / 364.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/0.142, allocations: 170.2 kB / 364.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.1426, allocations: 0.509 MB / 365.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1427, allocations: 37.7 kB / 365.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.1427, allocations: 97.05 kB / 365.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.1428, allocations: 31.58 kB / 365.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.1428, allocations: 4 kB / 365.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.143, allocations: 326.8 kB / 365.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1431, allocations: 59.97 kB / 365.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1432, allocations: 75.94 kB / 365.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1434, allocations: 166.8 kB / 366 MB, free: 6.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1434, allocations: 0 / 366 MB, free: 6.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005245/0.144, allocations: 388.3 kB / 366.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.949e-05/0.1441, allocations: 125.5 kB / 366.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1441, allocations: 0 / 366.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1441, allocations: 4 kB / 366.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.1441, allocations: 3.984 kB / 366.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1441, allocations: 0 / 366.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1443, allocations: 12 kB / 366.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.1444, allocations: 63.97 kB / 366.5 MB, free: 5.766 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.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.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.0003501/0.1447, allocations: 359.8 kB / 366.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.1448, allocations: 47.52 kB / 366.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.1449, allocations: 63.14 kB / 367 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1449, allocations: 4 kB / 367 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.145, allocations: 0 / 367 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.145, allocations: 112 / 367 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.146, allocations: 0.8172 MB / 367.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.146, allocations: 4 kB / 367.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-06/0.146, allocations: 0 / 367.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.146, allocations: 4 kB / 367.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.1461, allocations: 11.98 kB / 367.8 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1461, allocations: 0 / 367.8 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1461, allocations: 4.188 kB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.1467, allocations: 0.5406 MB / 368.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.1471, allocations: 244.5 kB / 368.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.1471, allocations: 20 kB / 368.6 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1473, allocations: 15.92 kB / 368.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1474, allocations: 31.95 kB / 368.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.1475, allocations: 52 kB / 368.7 MB, free: 3.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004551/0.1479, allocations: 382.9 kB / 369.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1479, allocations: 0 / 369.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1482, allocations: 47.91 kB / 369.2 MB, free: 2.965 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001702/0.1484, allocations: 121.8 kB / 369.3 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.1489, allocations: 449.5 kB / 369.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1489, allocations: 0 / 369.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.1493, allocations: 373.6 kB / 370.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.1499, allocations: 109 kB / 370.2 MB, free: 1.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1511, allocations: 0.7755 MB / 371 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.1515, allocations: 0.8024 MB / 371.8 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.1516, allocations: 15.44 kB / 371.8 MB, free: 188 kB / 302.1 MB Notification: Performance of SimCode: time 1.744e-06/0.1516, allocations: 0 / 371.8 MB, free: 188 kB / 302.1 MB Notification: Performance of Templates: time 0.2515/0.403, allocations: 2.653 MB / 374.4 MB, free: 19.21 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFERCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.NRXFERCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.NRXFERCalcHelperMain.o] Error 1