Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009162/0.0009163, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 51.5 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002197/0.1297, allocations: 1.442 MB / 360.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.131, allocations: 0.6354 MB / 360.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1312, allocations: 3.938 kB / 360.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1314, allocations: 15.92 kB / 360.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1316, allocations: 27.84 kB / 360.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.132, allocations: 107.8 kB / 361 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1323, allocations: 135.5 kB / 361.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1325, allocations: 33.53 kB / 361.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1326, allocations: 67.75 kB / 361.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.1329, allocations: 91.66 kB / 361.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.1329, allocations: 4 kB / 361.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.133, allocations: 8 kB / 361.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.1331, allocations: 59.81 kB / 361.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.1332, allocations: 57.64 kB / 361.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1334, allocations: 148 kB / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.1334, allocations: 0 / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1334, allocations: 0 / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1334, allocations: 0 / 361.6 MB, free: 11.07 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007885/0.1342, allocations: 490.3 kB / 362.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1342, allocations: 12.03 kB / 362.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1344, allocations: 35.7 kB / 362.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1347, allocations: 234.7 kB / 362.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.1348, allocations: 16 kB / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.1348, allocations: 23.95 kB / 362.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1359, allocations: 0.6373 MB / 363.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1359, allocations: 0 / 363.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1359, allocations: 11.98 kB / 363.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.136, allocations: 8 kB / 363.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.1363, allocations: 195.8 kB / 363.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.1368, allocations: 366.3 kB / 363.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.1373, allocations: 255.5 kB / 363.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.1376, allocations: 158.6 kB / 364 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1376, allocations: 4 kB / 364 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1376, allocations: 38.56 kB / 364.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.502e-06/0.1377, allocations: 4 kB / 364.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008405/0.1385, allocations: 425.8 kB / 364.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1386, allocations: 135.7 kB / 364.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1388, allocations: 174.4 kB / 364.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.1388, allocations: 33.83 kB / 364.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.1389, allocations: 97.14 kB / 364.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.1389, allocations: 47.53 kB / 365 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.139, allocations: 8 kB / 365 MB, free: 7.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1391, allocations: 338.8 kB / 365.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1392, allocations: 80.81 kB / 365.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.1395, allocations: 326.7 kB / 365.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.1398, allocations: 131.8 kB / 365.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1398, allocations: 0 / 365.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005638/0.1404, allocations: 409 kB / 366.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1404, allocations: 11.94 kB / 366.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.1404, allocations: 11.98 kB / 366.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.1404, allocations: 12 kB / 366.3 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1407, allocations: 84.56 kB / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.1407, allocations: 19.94 kB / 366.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1409, allocations: 43.67 kB / 366.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.1409, allocations: 20 kB / 366.4 MB, free: 5.859 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001845/0.1411, allocations: 182.4 kB / 366.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.1416, allocations: 285.6 kB / 366.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.1417, allocations: 34.64 kB / 366.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1417, allocations: 8 kB / 366.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1417, allocations: 4 kB / 366.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1417, allocations: 0 / 366.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1419, allocations: 253.2 kB / 367.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.142, allocations: 0 / 367.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.1422, allocations: 63.89 kB / 367.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1422, allocations: 4 kB / 367.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.1423, allocations: 15.98 kB / 367.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1423, allocations: 80 / 367.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1423, allocations: 11.92 kB / 367.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/0.1429, allocations: 435.8 kB / 367.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.143, allocations: 132.7 kB / 367.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.143, allocations: 16 kB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1432, allocations: 15.98 kB / 367.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1432, allocations: 4 kB / 367.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1433, allocations: 15.98 kB / 367.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.1434, allocations: 128.5 kB / 368 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1434, allocations: 0 / 368 MB, free: 4.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.1437, allocations: 48 kB / 368 MB, free: 4.133 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.000159/0.1439, allocations: 116.7 kB / 368.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.1444, allocations: 297.4 kB / 368.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1444, allocations: 3.938 kB / 368.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.1445, allocations: 16.48 kB / 368.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.1452, allocations: 211.8 kB / 368.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1464, allocations: 0.651 MB / 369.3 MB, free: 2.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1468, allocations: 0.7764 MB / 370.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.1469, allocations: 27.44 kB / 370.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1469, allocations: 0 / 370.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of Templates: time 0.2077/0.3546, allocations: 2.905 MB / 373 MB, free: 18.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.UpSample2CalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2CalcHelperMain.o] Error 1