Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 90.31 kB / 16.95 MB, free: 6.453 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.001321/0.001321, allocations: 179.5 kB / 17.84 MB, free: 6 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.522/1.522, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002905, allocations: 4.688 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 50.43 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002046/0.1243, allocations: 1.418 MB / 353.3 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.1253, allocations: 0.5224 MB / 353.8 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.1254, allocations: 11.94 kB / 353.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.1254, allocations: 3.938 kB / 353.8 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1256, allocations: 15.91 kB / 353.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.126, allocations: 79.78 kB / 353.9 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1261, allocations: 75.72 kB / 354 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1262, allocations: 25.11 kB / 354 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.1263, allocations: 43.83 kB / 354.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.1264, allocations: 31.8 kB / 354.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1264, allocations: 3.938 kB / 354.1 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.1264, allocations: 4 kB / 354.1 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.1265, allocations: 27.89 kB / 354.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1266, allocations: 45.64 kB / 354.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1267, allocations: 67.86 kB / 354.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1267, allocations: 0 / 354.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1267, allocations: 0 / 354.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1267, allocations: 0 / 354.3 MB, free: 1.609 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005681/0.1273, allocations: 407.1 kB / 354.6 MB, free: 1.164 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1273, allocations: 12.03 kB / 354.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.1274, allocations: 19.77 kB / 354.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1276, allocations: 210.8 kB / 354.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.1277, allocations: 4 kB / 354.9 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1277, allocations: 12 kB / 354.9 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.1282, allocations: 273.4 kB / 355.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1282, allocations: 0 / 355.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1282, allocations: 0 / 355.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1283, allocations: 7.953 kB / 355.2 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1284, allocations: 55.91 kB / 355.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1288, allocations: 306.5 kB / 355.5 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.129, allocations: 135.9 kB / 355.7 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1292, allocations: 78.84 kB / 355.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1292, allocations: 0 / 355.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.1292, allocations: 42.52 kB / 355.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.1293, allocations: 3.938 kB / 355.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000393/0.1297, allocations: 181.3 kB / 356 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/0.1298, allocations: 118.8 kB / 356.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1299, allocations: 154.3 kB / 356.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1299, allocations: 25.7 kB / 356.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.13, allocations: 96.12 kB / 356.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.13, allocations: 15.81 kB / 356.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.13, allocations: 7.938 kB / 356.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1303, allocations: 326.9 kB / 356.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.1303, allocations: 28.34 kB / 356.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1305, allocations: 131.3 kB / 356.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.1306, allocations: 51.94 kB / 356.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1306, allocations: 0 / 356.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002777/0.1309, allocations: 181.2 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1309, allocations: 4 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1309, allocations: 7.953 kB / 357.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1309, allocations: 8.531 kB / 357.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.131, allocations: 31.92 kB / 357.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1311, allocations: 11.98 kB / 357.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.1312, allocations: 11.91 kB / 357.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1312, allocations: 12 kB / 357.2 MB, free: 14.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001229/0.1313, allocations: 140.5 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.1315, allocations: 121.4 kB / 357.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.1315, allocations: 20.7 kB / 357.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1316, allocations: 3.953 kB / 357.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1316, allocations: 8 kB / 357.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1316, allocations: 3.938 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1319, allocations: 193.6 kB / 357.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1319, allocations: 0 / 357.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.132, allocations: 23.98 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.132, allocations: 4 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.1321, allocations: 4 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1321, allocations: 0 / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1321, allocations: 7.953 kB / 357.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.1324, allocations: 252.9 kB / 357.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.1325, allocations: 108.9 kB / 358 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1325, allocations: 7.938 kB / 358 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.1326, allocations: 11.98 kB / 358.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1327, allocations: 7.953 kB / 358.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1327, allocations: 4 kB / 358.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.386e-05/0.1328, allocations: 115.2 kB / 358.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 96 / 358.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1331, allocations: 23.94 kB / 358.2 MB, free: 13.23 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001246/0.1332, allocations: 107.2 kB / 358.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1334, allocations: 107.8 kB / 358.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1334, allocations: 0 / 358.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.1335, allocations: 11.98 kB / 358.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.134, allocations: 77.06 kB / 358.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.1345, allocations: 337.3 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1348, allocations: 0.7205 MB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.1348, allocations: 15.44 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1348, allocations: 0 / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Templates: time 0.003017/0.1378, allocations: 1.455 MB / 361 MB, free: 10.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1CalcHelperMain.o] Error 1