Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001986, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 7.984 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1579, allocations: 51.48 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002904/0.1609, allocations: 1.278 MB / 360.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1622, allocations: 499 kB / 360.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1624, allocations: 7.938 kB / 360.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.1624, allocations: 0 / 360.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1626, allocations: 7.922 kB / 360.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1631, allocations: 43.91 kB / 360.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1632, allocations: 43.83 kB / 360.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1634, allocations: 11.98 kB / 360.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1635, allocations: 19.92 kB / 360.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.1636, allocations: 23.86 kB / 360.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1637, allocations: 0 / 360.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.1637, allocations: 8 kB / 360.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.1638, allocations: 11.97 kB / 360.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.1639, allocations: 41.64 kB / 360.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.164, allocations: 31.94 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.164, allocations: 0 / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1641, allocations: 0 / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1641, allocations: 0 / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008019/0.1649, allocations: 367.3 kB / 361.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1649, allocations: 8.031 kB / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.1651, allocations: 27.83 kB / 361.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.1655, allocations: 186.9 kB / 361.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1655, allocations: 4 kB / 361.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1656, allocations: 11.94 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.166, allocations: 117 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1661, allocations: 0 / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1661, allocations: 0 / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1661, allocations: 4 kB / 361.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1662, allocations: 27.91 kB / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.1667, allocations: 269.7 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1671, allocations: 138.2 kB / 361.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1672, allocations: 37.7 kB / 362 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1672, allocations: 4 kB / 362 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1673, allocations: 34.56 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1673, allocations: 0 / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004168/0.1677, allocations: 81.52 kB / 362.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.1678, allocations: 85.11 kB / 362.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1681, allocations: 145.9 kB / 362.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1681, allocations: 25.7 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.1682, allocations: 84.14 kB / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1683, allocations: 7.906 kB / 362.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.1683, allocations: 3.938 kB / 362.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.1685, allocations: 318.8 kB / 362.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.1686, allocations: 8 kB / 362.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1686, allocations: 39.42 kB / 362.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.366e-05/0.1687, allocations: 15.98 kB / 362.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.1687, allocations: 3.953 kB / 362.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.169, allocations: 69.62 kB / 362.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.169, allocations: 8 kB / 362.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.169, allocations: 3.984 kB / 362.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1691, allocations: 0 / 362.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1692, allocations: 15.94 kB / 362.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1692, allocations: 7.922 kB / 362.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.1693, allocations: 7.906 kB / 362.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1693, allocations: 4.125 kB / 362.9 MB, free: 9.469 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001548/0.1695, allocations: 121.8 kB / 363.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1696, allocations: 45.64 kB / 363.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1697, allocations: 12.25 kB / 363.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1697, allocations: 4 kB / 363.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1697, allocations: 4 kB / 363.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1697, allocations: 3.938 kB / 363.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.17, allocations: 169.6 kB / 363.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.17, allocations: 336 / 363.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.1701, allocations: 23.94 kB / 363.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1701, allocations: 0 / 363.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1701, allocations: 0 / 363.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1702, allocations: 0 / 363.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1702, allocations: 0 / 363.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1705, allocations: 176.4 kB / 363.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1706, allocations: 89 kB / 363.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1707, allocations: 7.953 kB / 363.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1708, allocations: 7.984 kB / 363.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.1708, allocations: 7.938 kB / 363.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1708, allocations: 3.938 kB / 363.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.171, allocations: 105.6 kB / 363.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.171, allocations: 0 / 363.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.1714, allocations: 7.984 kB / 363.7 MB, free: 8.586 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001884/0.1716, allocations: 99.25 kB / 363.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1718, allocations: 35.92 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1718, allocations: 0 / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.1719, allocations: 15.98 kB / 363.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.1724, allocations: 19.78 kB / 363.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.173, allocations: 226.9 kB / 364.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1734, allocations: 0.6926 MB / 364.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1734, allocations: 11.44 kB / 364.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1734, allocations: 0 / 364.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of Templates: time 0.003364/0.1768, allocations: 0.7251 MB / 365.5 MB, free: 6.707 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1CalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1CalcHelperMain.o] Error 1