Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001291/0.001292, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.782/1.782, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001102/0.001102, allocations: 47.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 46.63 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003457/0.1269, allocations: 1.567 MB / 328.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1289, allocations: 0.9132 MB / 329.7 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.1289, allocations: 0 / 329.7 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.993e-05/0.129, allocations: 7.922 kB / 329.7 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.1291, allocations: 19.86 kB / 329.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.1293, allocations: 39.95 kB / 329.8 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1294, allocations: 111.7 kB / 329.9 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.289e-05/0.1295, allocations: 23.98 kB / 329.9 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.1299, allocations: 383.2 kB / 330.3 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.13, allocations: 63.75 kB / 330.4 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.13, allocations: 4 kB / 330.4 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.003e-05/0.1301, allocations: 4 kB / 330.4 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.1302, allocations: 67.7 kB / 330.4 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1303, allocations: 107.2 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1305, allocations: 287.4 kB / 330.8 MB, free: 1.297 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1306, allocations: 0 / 330.8 MB, free: 1.297 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1306, allocations: 0 / 330.8 MB, free: 1.297 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1306, allocations: 0 / 330.8 MB, free: 1.297 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.0006929/0.1313, allocations: 0.7229 MB / 331.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1313, allocations: 12.03 kB / 331.6 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.1314, allocations: 36.47 kB / 331.6 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1316, allocations: 278.3 kB / 331.9 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1317, allocations: 4.375 kB / 331.9 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1317, allocations: 12.38 kB / 331.9 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.132, allocations: 129.9 kB / 332 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.132, allocations: 4 kB / 332 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.132, allocations: 4 kB / 332 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-06/0.132, allocations: 0 / 332 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1322, allocations: 59.95 kB / 332.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.1328, allocations: 452.6 kB / 332.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.133, allocations: 102.5 kB / 332.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1331, allocations: 80.88 kB / 332.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.1331, allocations: 0 / 332.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.1335, allocations: 202.6 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1335, allocations: 0 / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007317/0.1342, allocations: 468.1 kB / 333.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.1343, allocations: 166.2 kB / 333.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.1349, allocations: 0.5168 MB / 334 MB, free: 13.81 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.135, allocations: 29.7 kB / 334.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.135, allocations: 101.1 kB / 334.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.1351, allocations: 31.64 kB / 334.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1352, allocations: 77.42 kB / 334.3 MB, free: 13.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1353, allocations: 326.8 kB / 334.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1355, allocations: 59.91 kB / 334.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1356, allocations: 69.69 kB / 334.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.1359, allocations: 347.7 kB / 335 MB, free: 12.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.136, allocations: 112 / 335 MB, free: 12.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005091/0.1365, allocations: 380.1 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.1366, allocations: 122.8 kB / 335.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1366, allocations: 0 / 335.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.1366, allocations: 4.031 kB / 335.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.431e-05/0.1366, allocations: 4 kB / 335.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1366, allocations: 3.984 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1367, allocations: 12 kB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.1368, allocations: 36 kB / 335.6 MB, free: 12.1 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.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.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.0003455/0.1372, allocations: 374.2 kB / 336 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.1372, allocations: 35.62 kB / 336 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1373, allocations: 71.08 kB / 336.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1373, allocations: 4 kB / 336.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1373, allocations: 0 / 336.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1374, allocations: 0 / 336.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.1383, allocations: 0.8094 MB / 336.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1383, allocations: 0 / 336.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.1383, allocations: 3.938 kB / 336.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1383, allocations: 192 / 336.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.1384, allocations: 23.98 kB / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1384, allocations: 0 / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1384, allocations: 3.938 kB / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.139, allocations: 0.5174 MB / 337.4 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.1393, allocations: 252.3 kB / 337.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.1394, allocations: 12 kB / 337.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1395, allocations: 8 kB / 337.7 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.1396, allocations: 23.91 kB / 337.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.1396, allocations: 47.92 kB / 337.8 MB, free: 9.746 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000447/0.1401, allocations: 386.9 kB / 338.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1401, allocations: 4 kB / 338.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1404, allocations: 44 kB / 338.2 MB, free: 9.324 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,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.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.0001454/0.1405, allocations: 115 kB / 338.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.1411, allocations: 441.5 kB / 338.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1411, allocations: 0 / 338.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.1414, allocations: 377.6 kB / 339.1 MB, free: 8.305 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.142, allocations: 121.4 kB / 339.2 MB, free: 8.184 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1431, allocations: 0.7901 MB / 340 MB, free: 7.363 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.1435, allocations: 0.8022 MB / 340.8 MB, free: 6.535 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.1435, allocations: 11.44 kB / 340.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1436, allocations: 0 / 340.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of Templates: time 0.004161/0.1477, allocations: 2.507 MB / 343.3 MB, free: 4.02 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.BUF3SCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3SCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3SCalcHelperMain.o] Error 1