Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008313/0.0008313, allocations: 89.31 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002311, allocations: 4 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1081, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002434/0.1106, allocations: 1.639 MB / 360.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1127, allocations: 1.263 MB / 361.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1128, allocations: 11.94 kB / 361.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.1132, allocations: 63.73 kB / 361.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.1135, allocations: 103.6 kB / 361.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.1142, allocations: 263.1 kB / 362.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1145, allocations: 191.4 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1146, allocations: 40.27 kB / 362.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1147, allocations: 79.62 kB / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1149, allocations: 91.55 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1149, allocations: 4 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1151, allocations: 51.95 kB / 362.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.552e-05/0.1151, allocations: 55.83 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.1152, allocations: 61.52 kB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1155, allocations: 219.8 kB / 362.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1155, allocations: 0 / 362.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1155, allocations: 4 kB / 362.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1155, allocations: 0 / 362.9 MB, free: 9.988 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008463/0.1164, allocations: 0.5311 MB / 363.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1164, allocations: 15.97 kB / 363.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.1165, allocations: 31.62 kB / 363.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1168, allocations: 298.3 kB / 363.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.1169, allocations: 12 kB / 363.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1169, allocations: 19.94 kB / 363.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.1175, allocations: 326.3 kB / 364.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1175, allocations: 0 / 364.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1175, allocations: 4 kB / 364.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1175, allocations: 8 kB / 364.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.1177, allocations: 71.89 kB / 364.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.1182, allocations: 422.3 kB / 364.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.1186, allocations: 188 kB / 364.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1187, allocations: 94.53 kB / 364.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1188, allocations: 7.938 kB / 364.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.1189, allocations: 79.38 kB / 365 MB, free: 7.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.1189, allocations: 4 kB / 365 MB, free: 7.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005172/0.1195, allocations: 241.2 kB / 365.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.1196, allocations: 170.3 kB / 365.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.12, allocations: 351 kB / 365.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.12, allocations: 33.7 kB / 365.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.1201, allocations: 144.5 kB / 365.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1201, allocations: 39.62 kB / 365.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.1202, allocations: 4 kB / 365.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1203, allocations: 342.8 kB / 366.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.1204, allocations: 40.45 kB / 366.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1206, allocations: 179.5 kB / 366.5 MB, free: 6.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1207, allocations: 67.92 kB / 366.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1207, allocations: 4 kB / 366.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003554/0.1211, allocations: 229.7 kB / 366.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1211, allocations: 12.06 kB / 366.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.1211, allocations: 4 kB / 366.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1212, allocations: 8.062 kB / 366.8 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1213, allocations: 39.92 kB / 366.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1213, allocations: 11.92 kB / 366.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1214, allocations: 19.84 kB / 366.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1215, allocations: 16 kB / 366.9 MB, free: 5.621 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001978/0.1217, allocations: 180.8 kB / 367.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.1219, allocations: 149.6 kB / 367.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.122, allocations: 33.78 kB / 367.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.122, allocations: 4 kB / 367.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.122, allocations: 0 / 367.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.122, allocations: 0 / 367.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1223, allocations: 273.4 kB / 367.5 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1223, allocations: 0 / 367.5 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.1224, allocations: 39.91 kB / 367.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1224, allocations: 0 / 367.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1224, allocations: 4 kB / 367.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1224, allocations: 4 kB / 367.6 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1224, allocations: 0 / 367.6 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.1228, allocations: 256 kB / 367.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1229, allocations: 132.7 kB / 368 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.123, allocations: 8 kB / 368 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.1231, allocations: 8 kB / 368 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1231, allocations: 15.92 kB / 368 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1232, allocations: 4 kB / 368 MB, free: 4.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.1234, allocations: 257.9 kB / 368.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1234, allocations: 0 / 368.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1237, allocations: 55.91 kB / 368.3 MB, free: 4.125 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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001008/0.1248, allocations: 421.6 kB / 368.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.1251, allocations: 147.8 kB / 368.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1251, allocations: 0 / 368.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.1252, allocations: 31.97 kB / 368.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1257, allocations: 126.8 kB / 369 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.1264, allocations: 0.5343 MB / 369.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.1268, allocations: 0.7755 MB / 370.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.1268, allocations: 23.44 kB / 370.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1268, allocations: 0 / 370.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of Templates: time 0.2305/0.3573, allocations: 3.632 MB / 374 MB, free: 19.04 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.IntegerSignals.UpSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSampleCalcHelperMain.o] Error 1