Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007935/0.0007938, allocations: 91.34 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.0009842/0.0009843, allocations: 179.9 kB / 17.84 MB, free: 5.617 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.509/1.509, allocations: 223.2 MB / 241.8 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003376, allocations: 7.938 kB / 301.5 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002087/0.1389, allocations: 1.269 MB / 353.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.1397, allocations: 455.2 kB / 353.6 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.1399, allocations: 11.94 kB / 353.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.1399, allocations: 3.984 kB / 353.6 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1401, allocations: 15.86 kB / 353.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1404, allocations: 47.14 kB / 353.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.1405, allocations: 39.86 kB / 353.7 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1407, allocations: 16.11 kB / 353.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.693e-05/0.1407, allocations: 19.92 kB / 353.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.1408, allocations: 11.92 kB / 353.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1408, allocations: 4 kB / 353.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.1409, allocations: 4 kB / 353.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.1409, allocations: 15.92 kB / 353.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.141, allocations: 37.64 kB / 353.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.141e-05/0.1411, allocations: 35.92 kB / 353.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1411, allocations: 0 / 353.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1411, allocations: 0 / 353.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1411, allocations: 0 / 353.8 MB, free: 2.031 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005405/0.1417, allocations: 367.3 kB / 354.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.1417, allocations: 12.03 kB / 354.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1418, allocations: 15.8 kB / 354.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.142, allocations: 193.6 kB / 354.4 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.142, allocations: 4 kB / 354.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1421, allocations: 0 / 354.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1424, allocations: 117.9 kB / 354.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1424, allocations: 4 kB / 354.5 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1424, allocations: 3.953 kB / 354.5 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1424, allocations: 3.984 kB / 354.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.462e-05/0.1425, allocations: 23.98 kB / 354.6 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.1429, allocations: 270.6 kB / 354.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.143, allocations: 75.78 kB / 354.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.1431, allocations: 38.62 kB / 355 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1431, allocations: 3.984 kB / 355 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1432, allocations: 34.52 kB / 355 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1432, allocations: 0 / 355 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002929/0.1435, allocations: 97.64 kB / 355.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.1436, allocations: 106.8 kB / 355.2 MB, free: 460 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1437, allocations: 137.8 kB / 355.3 MB, free: 312 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1437, allocations: 29.7 kB / 355.4 MB, free: 276 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.1438, allocations: 92.08 kB / 355.4 MB, free: 180 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.1438, allocations: 12.08 kB / 355.5 MB, free: 168 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.1438, allocations: 4 kB / 355.5 MB, free: 164 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.144, allocations: 314.8 kB / 355.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.144, allocations: 11.98 kB / 355.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.1441, allocations: 35.38 kB / 355.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.1442, allocations: 19.98 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1442, allocations: 3.938 kB / 355.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001618/0.1443, allocations: 77.47 kB / 355.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1444, allocations: 8 kB / 355.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1444, allocations: 4.125 kB / 355.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1444, allocations: 3.938 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1445, allocations: 12 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1445, allocations: 7.938 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.1446, allocations: 7.984 kB / 356 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1446, allocations: 0 / 356 MB, free: 15.64 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.0001013/0.1447, allocations: 117.8 kB / 356.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.1448, allocations: 57.55 kB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.1449, allocations: 11.88 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1449, allocations: 3.938 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1449, allocations: 0 / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1449, allocations: 4 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1451, allocations: 169.6 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1451, allocations: 0 / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.1452, allocations: 12 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1452, allocations: 0 / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1452, allocations: 3.953 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1452, allocations: 8.047 kB / 356.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1452, allocations: 4 kB / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1455, allocations: 181.1 kB / 356.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.1456, allocations: 93 kB / 356.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1456, allocations: 4 kB / 356.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.1457, allocations: 7.953 kB / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1457, allocations: 4 kB / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1457, allocations: 0 / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.847e-05/0.1458, allocations: 109.8 kB / 356.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1458, allocations: 0 / 356.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1461, allocations: 8 kB / 356.7 MB, free: 14.75 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: 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.0001202/0.1462, allocations: 103.2 kB / 356.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1464, allocations: 35.91 kB / 356.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1464, allocations: 0 / 356.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.1464, allocations: 8 kB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1468, allocations: 28.52 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.1473, allocations: 232.2 kB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1476, allocations: 0.6926 MB / 357.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1477, allocations: 11.44 kB / 357.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1477, allocations: 3.938 kB / 357.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of Templates: time 0.002642/0.1503, allocations: 0.7956 MB / 358.6 MB, free: 12.77 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.Clocked.Examples.Elementary.RealSignals.SubSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSampleCalcHelperMain.o] Error 1