Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_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.001098/0.001098, allocations: 90.39 kB / 16.95 MB, free: 5.953 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.001389/0.001389, allocations: 181.8 kB / 17.84 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.2 MB / 241.9 MB, free: 14.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 8 kB / 301.5 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 50.41 MB / 351.9 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001791/0.1451, allocations: 1.204 MB / 353.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.147, allocations: 0.8198 MB / 353.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.147, allocations: 0 / 353.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.633e-05/0.1472, allocations: 7.984 kB / 353.9 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.1472, allocations: 7.875 kB / 353.9 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1475, allocations: 35.95 kB / 353.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1477, allocations: 111.7 kB / 354 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1478, allocations: 15.98 kB / 354.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.1484, allocations: 343.4 kB / 354.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1485, allocations: 71.81 kB / 354.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1485, allocations: 7.938 kB / 354.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.1486, allocations: 4 kB / 354.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.1487, allocations: 63.77 kB / 354.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.385e-05/0.1488, allocations: 73.52 kB / 354.6 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1491, allocations: 279.4 kB / 354.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1491, allocations: 0 / 354.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1491, allocations: 0 / 354.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1491, allocations: 0 / 354.9 MB, free: 0.7305 MB / 286.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.0008611/0.15, allocations: 0.6686 MB / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.15, allocations: 8.031 kB / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.1501, allocations: 39.53 kB / 355.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.1504, allocations: 249.3 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1505, allocations: 15.98 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1505, allocations: 8 kB / 355.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1508, allocations: 121.5 kB / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1508, allocations: 3.953 kB / 356 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1509, allocations: 7.938 kB / 356 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1509, allocations: 3.984 kB / 356 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.151, allocations: 59.97 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.1518, allocations: 448.7 kB / 356.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.152, allocations: 102.4 kB / 356.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1522, allocations: 84.89 kB / 356.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1522, allocations: 4 kB / 356.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.1526, allocations: 202.6 kB / 356.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.1526, allocations: 0 / 356.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008179/0.1535, allocations: 475.3 kB / 357.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1536, allocations: 166.2 kB / 357.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/0.1542, allocations: 0.5129 MB / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.1543, allocations: 33.7 kB / 358.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.1544, allocations: 101.1 kB / 358.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1544, allocations: 27.66 kB / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.1544, allocations: 3.984 kB / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1546, allocations: 322.8 kB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1547, allocations: 55.97 kB / 358.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1549, allocations: 77.61 kB / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1551, allocations: 158.8 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1551, allocations: 4 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005587/0.1557, allocations: 376.3 kB / 359.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.1558, allocations: 122.8 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1558, allocations: 0 / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1558, allocations: 3.938 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.242e-05/0.1559, allocations: 4 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1559, allocations: 3.938 kB / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1561, allocations: 23.89 kB / 359.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.1562, allocations: 36 kB / 359.3 MB, free: 11.88 MB / 302.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.0003751/0.1565, allocations: 362.3 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1566, allocations: 35.58 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.1568, allocations: 75.36 kB / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1568, allocations: 3.938 kB / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1568, allocations: 4 kB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1568, allocations: 0 / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.1578, allocations: 0.8094 MB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1578, allocations: 4 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.1579, allocations: 4 kB / 360.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1579, allocations: 0 / 360.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.1579, allocations: 12 kB / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1579, allocations: 0 / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1579, allocations: 0 / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.1586, allocations: 0.5174 MB / 361.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.1589, allocations: 248.4 kB / 361.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.159, allocations: 12 kB / 361.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1591, allocations: 15.98 kB / 361.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.1592, allocations: 27.91 kB / 361.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.1593, allocations: 47.92 kB / 361.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004923/0.1598, allocations: 386.9 kB / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1598, allocations: 0 / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1601, allocations: 47.94 kB / 361.9 MB, free: 9.113 MB / 302.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.0001848/0.1603, allocations: 111 kB / 362 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.1609, allocations: 433.5 kB / 362.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1609, allocations: 0 / 362.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.1613, allocations: 385.5 kB / 362.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.1619, allocations: 111.5 kB / 363 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1631, allocations: 0.7795 MB / 363.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.1637, allocations: 0.8024 MB / 364.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1637, allocations: 15.44 kB / 364.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1637, allocations: 0 / 364.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of Templates: time 0.005013/0.1687, allocations: 2.503 MB / 367.1 MB, free: 3.852 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3SCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3SCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3SCalcHelperMain.o] Error 1