Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, 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.001166/0.001166, 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.852/1.852, 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.001453/0.001453, allocations: 55.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003451/0.126, allocations: 1.559 MB / 328.8 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1282, allocations: 0.9132 MB / 329.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.1283, allocations: 0 / 329.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.1284, allocations: 7.922 kB / 329.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.1285, allocations: 15.92 kB / 329.7 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1288, allocations: 43.91 kB / 329.8 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.129, allocations: 107.8 kB / 329.9 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1291, allocations: 16.22 kB / 329.9 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.1297, allocations: 0.5576 MB / 330.5 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1299, allocations: 75.61 kB / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.13, allocations: 4 kB / 330.5 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.229e-05/0.13, allocations: 4 kB / 330.5 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.1301, allocations: 63.77 kB / 330.6 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1302, allocations: 115.1 kB / 330.7 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1305, allocations: 295.3 kB / 331 MB, free: 1.117 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1306, allocations: 11.94 kB / 331 MB, free: 1.105 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1306, allocations: 0 / 331 MB, free: 1.105 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1306, allocations: 0 / 331 MB, free: 1.105 MB / 270.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.0008857/0.1315, allocations: 0.7191 MB / 331.7 MB, free: 320 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1315, allocations: 8.031 kB / 331.7 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.1316, allocations: 36.56 kB / 331.8 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.132, allocations: 274.5 kB / 332 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.132, allocations: 8.375 kB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.1321, allocations: 8.375 kB / 332.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.1325, allocations: 133.8 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1325, allocations: 0 / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.1325, allocations: 8 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1325, allocations: 7.984 kB / 332.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.1327, allocations: 59.97 kB / 332.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.1335, allocations: 464.5 kB / 332.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.1338, allocations: 94.48 kB / 332.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.134, allocations: 85 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.134, allocations: 3.938 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.1345, allocations: 202.8 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1345, allocations: 4 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008831/0.1354, allocations: 487.8 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1355, allocations: 162.2 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.1363, allocations: 0.5091 MB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.1363, allocations: 33.7 kB / 334.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.1364, allocations: 101 kB / 334.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1364, allocations: 31.64 kB / 334.4 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1366, allocations: 77.42 kB / 334.5 MB, free: 13.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1367, allocations: 334.8 kB / 334.8 MB, free: 13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1369, allocations: 55.97 kB / 334.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.137, allocations: 81.61 kB / 334.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.1374, allocations: 347.7 kB / 335.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1374, allocations: 0 / 335.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005749/0.138, allocations: 384.3 kB / 335.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/0.1381, allocations: 126.8 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1381, allocations: 4.031 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1381, allocations: 4 kB / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.155e-05/0.1381, allocations: 3.984 kB / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1382, allocations: 0 / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.1383, allocations: 11.91 kB / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.1384, allocations: 59.92 kB / 335.9 MB, free: 11.83 MB / 286.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,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000367/0.1388, allocations: 362.8 kB / 336.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1389, allocations: 35.62 kB / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.139, allocations: 71.09 kB / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.139, allocations: 0 / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.139, allocations: 0 / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.139, allocations: 4 kB / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1402, allocations: 0.8252 MB / 337.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1402, allocations: 0 / 337.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-06/0.1402, allocations: 0 / 337.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1402, allocations: 0 / 337.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.1402, allocations: 15.98 kB / 337.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1402, allocations: 0 / 337.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1403, allocations: 7.938 kB / 337.2 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007941/0.1411, allocations: 0.5407 MB / 337.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.1414, allocations: 240.5 kB / 338 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.1415, allocations: 12 kB / 338 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1416, allocations: 11.92 kB / 338 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1417, allocations: 27.92 kB / 338 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.1418, allocations: 59.92 kB / 338.1 MB, free: 9.449 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004749/0.1423, allocations: 390.9 kB / 338.4 MB, free: 9.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1423, allocations: 0 / 338.4 MB, free: 9.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1426, allocations: 51.91 kB / 338.5 MB, free: 9.02 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: 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 (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.0001637/0.1428, allocations: 117.6 kB / 338.6 MB, free: 8.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006052/0.1434, allocations: 441.5 kB / 339 MB, free: 8.414 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1434, allocations: 0 / 339 MB, free: 8.414 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.1438, allocations: 373.6 kB / 339.4 MB, free: 8 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.1444, allocations: 113.5 kB / 339.5 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1457, allocations: 0.8016 MB / 340.3 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.1463, allocations: 0.7946 MB / 341.1 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1463, allocations: 11.44 kB / 341.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1463, allocations: 0 / 341.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of Templates: time 0.005437/0.1518, allocations: 2.675 MB / 343.8 MB, free: 3.492 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFERCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFERCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFERCalcHelperMain.o] Error 1