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.000753/0.000753, allocations: 91.75 kB / 17.58 MB, free: 5.801 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.0008168/0.000817, allocations: 181.5 kB / 18.48 MB, free: 5.254 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.98/1.98, allocations: 205.4 MB / 224.6 MB, free: 13.01 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.0005526/0.0005529, allocations: 16 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1246, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001563/0.1262, allocations: 1.19 MB / 330.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.128, allocations: 0.8591 MB / 331 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.128, allocations: 4 kB / 331 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.056e-05/0.1281, allocations: 3.938 kB / 331 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.1282, allocations: 11.92 kB / 331 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1284, allocations: 35.95 kB / 331.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1285, allocations: 107.7 kB / 331.2 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.1286, allocations: 12.23 kB / 331.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.1292, allocations: 491.1 kB / 331.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1293, allocations: 79.81 kB / 331.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1293, allocations: 4 kB / 331.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.243e-05/0.1293, allocations: 4 kB / 331.8 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.1294, allocations: 63.77 kB / 331.8 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.1295, allocations: 73.52 kB / 331.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1298, allocations: 299.3 kB / 332.2 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1298, allocations: 0 / 332.2 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1298, allocations: 0 / 332.2 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1298, allocations: 3.938 kB / 332.2 MB, free: 0.8242 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.0006672/0.1305, allocations: 0.6568 MB / 332.9 MB, free: 96 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1305, allocations: 16.03 kB / 332.9 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.1306, allocations: 35.56 kB / 332.9 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1309, allocations: 257.4 kB / 333.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.131, allocations: 8 kB / 333.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.131, allocations: 8 kB / 333.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1313, allocations: 129.6 kB / 333.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1313, allocations: 0 / 333.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1313, allocations: 7.984 kB / 333.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1313, allocations: 4 kB / 333.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1315, allocations: 59.91 kB / 333.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.1321, allocations: 460.5 kB / 333.8 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1323, allocations: 102.5 kB / 333.9 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1324, allocations: 84.83 kB / 334 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.1325, allocations: 4 kB / 334 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.1328, allocations: 202.7 kB / 334.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1328, allocations: 0 / 334.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007557/0.1336, allocations: 476 kB / 334.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1337, allocations: 174.1 kB / 334.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.1343, allocations: 0.5207 MB / 335.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1343, allocations: 29.7 kB / 335.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1344, allocations: 109 kB / 335.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.1344, allocations: 27.64 kB / 335.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.1345, allocations: 4 kB / 335.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1346, allocations: 322.8 kB / 335.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1347, allocations: 55.97 kB / 335.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1349, allocations: 73.67 kB / 336 MB, free: 12.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1351, allocations: 166.9 kB / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1351, allocations: 3.938 kB / 336.1 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005222/0.1356, allocations: 384.3 kB / 336.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.093e-05/0.1357, allocations: 130.8 kB / 336.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1357, allocations: 0 / 336.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1357, allocations: 0 / 336.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.929e-05/0.1358, allocations: 4 kB / 336.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1358, allocations: 0 / 336.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1359, allocations: 15.92 kB / 336.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.136, allocations: 63.89 kB / 336.7 MB, free: 11.91 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,$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.0003343/0.1363, allocations: 358.8 kB / 337.1 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.1364, allocations: 39.53 kB / 337.1 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1365, allocations: 63.16 kB / 337.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1365, allocations: 4 kB / 337.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1365, allocations: 3.938 kB / 337.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1365, allocations: 0 / 337.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.1374, allocations: 0.8095 MB / 338 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1375, allocations: 192 / 338 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.1375, allocations: 11.92 kB / 338 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1375, allocations: 8 kB / 338 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1375, allocations: 12 kB / 338 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1375, allocations: 0 / 338 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1375, allocations: 0 / 338 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.1381, allocations: 0.545 MB / 338.6 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.1384, allocations: 248.5 kB / 338.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.1385, allocations: 12 kB / 338.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1386, allocations: 15.98 kB / 338.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.1387, allocations: 27.97 kB / 338.9 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.1388, allocations: 59.92 kB / 338.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004443/0.1392, allocations: 386.9 kB / 339.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1392, allocations: 0 / 339.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1395, allocations: 47.89 kB / 339.3 MB, free: 9.109 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 (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.000145/0.1397, allocations: 115.2 kB / 339.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004931/0.1402, allocations: 441.5 kB / 339.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1402, allocations: 0 / 339.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.1405, allocations: 373.6 kB / 340.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.141, allocations: 101.5 kB / 340.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1421, allocations: 0.7833 MB / 341.1 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1426, allocations: 0.7986 MB / 341.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1426, allocations: 11.44 kB / 341.9 MB, free: 6.344 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1426, allocations: 0 / 341.9 MB, free: 6.344 MB / 286.1 MB Notification: Performance of Templates: time 0.004287/0.1469, allocations: 2.682 MB / 344.6 MB, free: 3.609 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++ 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.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