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.0008291/0.000829, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.001225/0.001225, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.905/1.905, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004546/0.0004546, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001807/0.1289, allocations: 1.194 MB / 330.2 MB, free: 2.883 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1307, allocations: 0.8513 MB / 331 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.1308, allocations: 4 kB / 331 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.576e-05/0.1309, allocations: 7.922 kB / 331 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.131, allocations: 7.938 kB / 331 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1312, allocations: 39.89 kB / 331.1 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1313, allocations: 99.75 kB / 331.2 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.1315, allocations: 20.22 kB / 331.2 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.132, allocations: 491.1 kB / 331.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1321, allocations: 83.81 kB / 331.8 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1322, allocations: 4 kB / 331.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.1322, allocations: 4 kB / 331.8 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.1322, allocations: 63.77 kB / 331.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.1323, allocations: 73.52 kB / 331.9 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1325, allocations: 291.3 kB / 332.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1326, allocations: 0 / 332.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1326, allocations: 0 / 332.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1326, allocations: 0 / 332.2 MB, free: 0.8477 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.0006622/0.1332, allocations: 0.6685 MB / 332.9 MB, free: 108 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1333, allocations: 8.031 kB / 332.9 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.1334, allocations: 35.62 kB / 332.9 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1337, allocations: 261.3 kB / 333.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1337, allocations: 4 kB / 333.2 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.1337, allocations: 12 kB / 333.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.134, allocations: 133.6 kB / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.134, allocations: 0 / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1341, allocations: 4 kB / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1341, allocations: 0 / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1342, allocations: 63.91 kB / 333.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.135, allocations: 460.5 kB / 333.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1352, allocations: 98.48 kB / 333.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.1354, allocations: 80.89 kB / 334 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1354, allocations: 7.984 kB / 334 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/0.1359, allocations: 206.7 kB / 334.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1359, allocations: 0 / 334.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008449/0.1367, allocations: 480 kB / 334.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.1369, allocations: 166.2 kB / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.1376, allocations: 0.5207 MB / 335.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1377, allocations: 33.69 kB / 335.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.1377, allocations: 105 kB / 335.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.1378, allocations: 35.62 kB / 335.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.1378, allocations: 4 kB / 335.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.138, allocations: 318.8 kB / 335.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1381, allocations: 55.97 kB / 335.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1383, allocations: 73.69 kB / 336 MB, free: 12.76 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1385, allocations: 166.8 kB / 336.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1385, allocations: 7.938 kB / 336.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005409/0.1391, allocations: 384.3 kB / 336.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.118e-05/0.1391, allocations: 122.8 kB / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1392, allocations: 4.078 kB / 336.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1392, allocations: 0 / 336.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.343e-05/0.1392, allocations: 0 / 336.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1392, allocations: 7.922 kB / 336.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.1394, allocations: 15.98 kB / 336.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.1395, allocations: 59.89 kB / 336.7 MB, free: 11.93 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,$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.000372/0.1398, allocations: 362.8 kB / 337.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.1399, allocations: 39.53 kB / 337.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.14, allocations: 67.14 kB / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.14, allocations: 128 / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.14, allocations: 4 kB / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.14, allocations: 0 / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.141, allocations: 0.8173 MB / 338 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.141, allocations: 4 kB / 338 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-06/0.1411, allocations: 4 kB / 338 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1411, allocations: 0 / 338 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.1411, allocations: 19.98 kB / 338 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1411, allocations: 0 / 338 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1411, allocations: 0 / 338 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.1417, allocations: 0.5372 MB / 338.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.142, allocations: 244.5 kB / 338.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.1421, allocations: 12 kB / 338.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1422, allocations: 12 kB / 338.8 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1423, allocations: 27.97 kB / 338.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/0.1424, allocations: 59.92 kB / 338.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004504/0.1429, allocations: 386.9 kB / 339.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 0 / 339.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1432, allocations: 51.89 kB / 339.3 MB, free: 9.129 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 (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.0001421/0.1433, allocations: 117.8 kB / 339.5 MB, free: 9.004 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.1438, allocations: 441.5 kB / 339.9 MB, free: 8.523 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1438, allocations: 3.938 kB / 339.9 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.1441, allocations: 377.5 kB / 340.3 MB, free: 8.102 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.1447, allocations: 101.8 kB / 340.4 MB, free: 8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1458, allocations: 0.7834 MB / 341.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.1462, allocations: 0.8025 MB / 341.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.1463, allocations: 11.44 kB / 342 MB, free: 6.348 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1463, allocations: 4 kB / 342 MB, free: 6.344 MB / 286.1 MB Notification: Performance of Templates: time 0.004184/0.1505, allocations: 2.672 MB / 344.6 MB, free: 3.617 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++ 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_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