Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008331/0.000833, allocations: 94.86 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008659/0.0008663, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002423/0.0002424, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001918/0.1259, allocations: 1.259 MB / 360.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.1268, allocations: 0.4951 MB / 360.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.1269, allocations: 0 / 360.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.1269, allocations: 0 / 360.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.1271, allocations: 7.938 kB / 360.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1274, allocations: 43.89 kB / 360.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.1275, allocations: 35.84 kB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.1276, allocations: 7.984 kB / 360.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1277, allocations: 23.92 kB / 360.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.1278, allocations: 19.86 kB / 360.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1278, allocations: 0 / 360.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.1278, allocations: 12 kB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.1279, allocations: 7.984 kB / 360.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.1279, allocations: 37.64 kB / 360.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.523e-05/0.128, allocations: 27.94 kB / 360.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.128, allocations: 0 / 360.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.128, allocations: 0 / 360.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.128, allocations: 0 / 360.8 MB, free: 12.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004415/0.1285, allocations: 367.3 kB / 361.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1285, allocations: 8.031 kB / 361.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1287, allocations: 19.89 kB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1289, allocations: 190.8 kB / 361.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1289, allocations: 8 kB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1289, allocations: 3.953 kB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.1292, allocations: 93.05 kB / 361.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1292, allocations: 0 / 361.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1292, allocations: 4 kB / 361.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1292, allocations: 0 / 361.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.1293, allocations: 19.98 kB / 361.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.1296, allocations: 265.8 kB / 361.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.1297, allocations: 49.14 kB / 361.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.1298, allocations: 21.78 kB / 361.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1298, allocations: 0 / 361.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1298, allocations: 38.5 kB / 361.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1298, allocations: 0 / 361.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.00023/0.13, allocations: 73.8 kB / 361.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1301, allocations: 81.05 kB / 362 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1302, allocations: 141.8 kB / 362.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1302, allocations: 25.7 kB / 362.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.1303, allocations: 92.08 kB / 362.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.1303, allocations: 0 / 362.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.1303, allocations: 0 / 362.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1304, allocations: 318.8 kB / 362.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.1305, allocations: 12.03 kB / 362.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.1305, allocations: 25.7 kB / 362.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.1306, allocations: 8 kB / 362.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1306, allocations: 3.953 kB / 362.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.1307, allocations: 69.58 kB / 362.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1307, allocations: 4 kB / 362.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1307, allocations: 4 kB / 362.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1308, allocations: 0 / 362.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.1308, allocations: 4 kB / 362.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1308, allocations: 0 / 362.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.1309, allocations: 11.88 kB / 362.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1309, allocations: 8.047 kB / 362.7 MB, free: 9.961 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.242e-05/0.131, allocations: 117.8 kB / 362.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.1311, allocations: 41.5 kB / 362.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.1311, allocations: 19.81 kB / 362.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1311, allocations: 0 / 362.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1311, allocations: 0 / 362.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1311, allocations: 4 kB / 362.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.1313, allocations: 165.7 kB / 363 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1313, allocations: 0 / 363 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.1314, allocations: 11.98 kB / 363.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1314, allocations: 8 kB / 363.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1314, allocations: 3.984 kB / 363.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1314, allocations: 3.984 kB / 363.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1314, allocations: 0 / 363.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1316, allocations: 164.2 kB / 363.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.1316, allocations: 89.09 kB / 363.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1316, allocations: 3.953 kB / 363.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.1317, allocations: 4 kB / 363.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.1317, allocations: 3.984 kB / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1318, allocations: 0 / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.47e-05/0.1318, allocations: 105.6 kB / 363.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1318, allocations: 0 / 363.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1321, allocations: 8.031 kB / 363.4 MB, free: 9.117 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 (2): * Single equations (assignments): 2 * 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.0001142/0.1322, allocations: 99.23 kB / 363.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1323, allocations: 27.98 kB / 363.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1323, allocations: 0 / 363.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.1324, allocations: 20.06 kB / 363.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1327, allocations: 15.39 kB / 363.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.1331, allocations: 207.2 kB / 363.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1333, allocations: 0.6928 MB / 364.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.1334, allocations: 7.438 kB / 364.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1334, allocations: 0 / 364.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of Templates: time 0.002459/0.1358, allocations: 0.6731 MB / 365.2 MB, free: 7.32 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClockedCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClockedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClockedCalcHelperMain.o] Error 1