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.0008483/0.0008483, allocations: 86.48 kB / 17.58 MB, free: 5.758 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.0009091/0.0009091, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.927/1.927, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004936/0.0004936, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 47.59 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001717/0.1278, allocations: 1.194 MB / 330.2 MB, free: 2.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1296, allocations: 0.8552 MB / 331 MB, free: 2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.1297, allocations: 0 / 331 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.1297, allocations: 7.938 kB / 331 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.1298, allocations: 11.86 kB / 331.1 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1301, allocations: 43.95 kB / 331.1 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1302, allocations: 103.7 kB / 331.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.1303, allocations: 23.98 kB / 331.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.1308, allocations: 339.4 kB / 331.6 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1309, allocations: 71.77 kB / 331.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.131, allocations: 7.984 kB / 331.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.131, allocations: 4 kB / 331.6 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.1311, allocations: 59.77 kB / 331.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.1312, allocations: 73.52 kB / 331.8 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1314, allocations: 279.4 kB / 332 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1315, allocations: 0 / 332 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1315, allocations: 0 / 332 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1315, allocations: 0 / 332 MB, free: 0.9883 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.0006472/0.1321, allocations: 0.6646 MB / 332.7 MB, free: 256 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1322, allocations: 8.031 kB / 332.7 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.1323, allocations: 43.52 kB / 332.8 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1326, allocations: 257.4 kB / 333 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1326, allocations: 4 kB / 333 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1326, allocations: 8 kB / 333 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.133, allocations: 129.5 kB / 333.1 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.133, allocations: 0 / 333.1 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.133, allocations: 12 kB / 333.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.133, allocations: 4 kB / 333.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1332, allocations: 59.95 kB / 333.2 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.1338, allocations: 456.6 kB / 333.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.134, allocations: 94.48 kB / 333.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1342, allocations: 84.89 kB / 333.8 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.1342, allocations: 0 / 333.8 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.1345, allocations: 202.8 kB / 334 MB, free: 14.78 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1345, allocations: 3.938 kB / 334 MB, free: 14.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007696/0.1353, allocations: 459.8 kB / 334.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.1354, allocations: 170.2 kB / 334.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/0.1361, allocations: 0.5168 MB / 335.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.1361, allocations: 33.7 kB / 335.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.1362, allocations: 101 kB / 335.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.1362, allocations: 31.64 kB / 335.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.1363, allocations: 8 kB / 335.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1364, allocations: 318.8 kB / 335.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1365, allocations: 55.97 kB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1367, allocations: 77.28 kB / 335.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1368, allocations: 174.7 kB / 336 MB, free: 12.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1369, allocations: 0 / 336 MB, free: 12.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000494/0.1374, allocations: 368.5 kB / 336.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1375, allocations: 126.8 kB / 336.4 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1375, allocations: 0 / 336.4 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1375, allocations: 4 kB / 336.4 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.513e-05/0.1375, allocations: 7.938 kB / 336.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1376, allocations: 0 / 336.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1377, allocations: 15.91 kB / 336.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.1378, allocations: 47.97 kB / 336.5 MB, free: 12.13 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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.0003522/0.1381, allocations: 362.3 kB / 336.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.1382, allocations: 35.62 kB / 336.9 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1383, allocations: 67.14 kB / 337 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1383, allocations: 0 / 337 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1383, allocations: 0 / 337 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1383, allocations: 0 / 337 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.1393, allocations: 0.8017 MB / 337.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1393, allocations: 4 kB / 337.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-06/0.1393, allocations: 0 / 337.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1393, allocations: 0 / 337.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.1393, allocations: 19.97 kB / 337.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1393, allocations: 0 / 337.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1394, allocations: 3.938 kB / 337.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.14, allocations: 0.5296 MB / 338.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.1403, allocations: 248.4 kB / 338.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.1403, allocations: 20 kB / 338.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1405, allocations: 19.92 kB / 338.6 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1406, allocations: 27.91 kB / 338.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.1406, allocations: 39.94 kB / 338.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004292/0.1411, allocations: 386.9 kB / 339.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1411, allocations: 0 / 339.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1414, allocations: 47.95 kB / 339.1 MB, free: 9.363 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 (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.0001545/0.1415, allocations: 115 kB / 339.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.142, allocations: 433.5 kB / 339.6 MB, free: 8.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1421, allocations: 4 kB / 339.6 MB, free: 8.766 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1424, allocations: 373.5 kB / 340 MB, free: 8.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.143, allocations: 105.4 kB / 340.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1441, allocations: 0.7718 MB / 340.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1445, allocations: 0.8025 MB / 341.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.1446, allocations: 11.44 kB / 341.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1446, allocations: 3.938 kB / 341.7 MB, free: 6.602 MB / 286.1 MB Notification: Performance of Templates: time 0.004271/0.1488, allocations: 2.495 MB / 344.2 MB, free: 4.109 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++ 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.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