Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 109.5 kB / 17.81 MB, free: 5.559 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.001265/0.001265, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.811/1.811, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001568/0.001568, allocations: 47.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 46.63 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003017/0.1276, allocations: 1.552 MB / 328.8 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1295, allocations: 0.9132 MB / 329.7 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.1295, allocations: 4 kB / 329.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1297, allocations: 7.922 kB / 329.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.1297, allocations: 11.92 kB / 329.7 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.13, allocations: 43.89 kB / 329.8 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1302, allocations: 107.7 kB / 329.9 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1303, allocations: 24.22 kB / 329.9 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.1309, allocations: 0.5537 MB / 330.5 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.131, allocations: 79.67 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.1311, allocations: 4 kB / 330.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.389e-05/0.1311, allocations: 4 kB / 330.5 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1312, allocations: 63.7 kB / 330.6 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1314, allocations: 107.2 kB / 330.7 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1317, allocations: 299.3 kB / 331 MB, free: 1.109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1317, allocations: 0 / 331 MB, free: 1.109 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1317, allocations: 0 / 331 MB, free: 1.109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1317, allocations: 0 / 331 MB, free: 1.109 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.000804/0.1325, allocations: 0.7269 MB / 331.7 MB, free: 316 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1326, allocations: 8.031 kB / 331.7 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.1326, allocations: 32.56 kB / 331.8 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.133, allocations: 278.3 kB / 332 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.133, allocations: 8.375 kB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.133, allocations: 12.31 kB / 332.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.1334, allocations: 133.8 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1334, allocations: 0 / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.1334, allocations: 4 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1334, allocations: 8 kB / 332.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1336, allocations: 55.97 kB / 332.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.1343, allocations: 456.5 kB / 332.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1345, allocations: 98.48 kB / 332.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1346, allocations: 88.88 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.1347, allocations: 4 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.135, allocations: 214.6 kB / 333.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.135, allocations: 0 / 333.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000803/0.1358, allocations: 479.8 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1359, allocations: 166.2 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.1366, allocations: 0.5091 MB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1366, allocations: 33.7 kB / 334.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.1367, allocations: 105 kB / 334.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1367, allocations: 31.64 kB / 334.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1369, allocations: 81.42 kB / 334.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.137, allocations: 326.8 kB / 334.8 MB, free: 13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1371, allocations: 55.91 kB / 334.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1373, allocations: 81.66 kB / 334.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.1377, allocations: 351.7 kB / 335.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1377, allocations: 0 / 335.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005452/0.1382, allocations: 388.3 kB / 335.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.1383, allocations: 122.8 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1383, allocations: 4 kB / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1384, allocations: 0 / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.1384, allocations: 128 / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1384, allocations: 4 kB / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1385, allocations: 19.91 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.1386, allocations: 63.95 kB / 335.9 MB, free: 11.82 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003494/0.139, allocations: 358.8 kB / 336.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.139, allocations: 35.62 kB / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1391, allocations: 67.2 kB / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1392, allocations: 7.938 kB / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1392, allocations: 0 / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1392, allocations: 0 / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/0.1401, allocations: 0.8173 MB / 337.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1401, allocations: 4 kB / 337.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-06/0.1402, allocations: 3.938 kB / 337.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1402, allocations: 0 / 337.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.1402, allocations: 19.98 kB / 337.2 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1402, allocations: 0 / 337.2 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1402, allocations: 3.938 kB / 337.2 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.1409, allocations: 0.5329 MB / 337.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.1412, allocations: 240.5 kB / 337.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1412, allocations: 16 kB / 338 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1414, allocations: 15.89 kB / 338 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1415, allocations: 27.92 kB / 338 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.1416, allocations: 59.92 kB / 338.1 MB, free: 9.441 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004385/0.142, allocations: 386.9 kB / 338.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.142, allocations: 0 / 338.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1423, allocations: 43.94 kB / 338.5 MB, free: 9.023 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,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 (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.0001852/0.1425, allocations: 123.1 kB / 338.6 MB, free: 8.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005391/0.143, allocations: 445.5 kB / 339 MB, free: 8.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.143, allocations: 0 / 339 MB, free: 8.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.1434, allocations: 369.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.0005601/0.1439, allocations: 109.4 kB / 339.5 MB, free: 7.891 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1451, allocations: 0.7977 MB / 340.3 MB, free: 7.062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.1456, allocations: 0.7986 MB / 341.1 MB, free: 6.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.1456, allocations: 15.44 kB / 341.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1456, allocations: 0 / 341.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of Templates: time 0.005522/0.1511, allocations: 2.682 MB / 343.8 MB, free: 3.484 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.NXFERCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.o] Error 1