Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 94.55 kB / 16.95 MB, free: 5.676 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.001217/0.001217, allocations: 184.3 kB / 17.85 MB, free: 5.32 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.387/1.387, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003173, allocations: 8 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002138/0.1142, allocations: 1.547 MB / 353.4 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1157, allocations: 1.03 MB / 354.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.1159, allocations: 7.938 kB / 354.5 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.1161, allocations: 63.77 kB / 354.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1163, allocations: 63.8 kB / 354.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.1169, allocations: 215.2 kB / 354.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1171, allocations: 155.5 kB / 354.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1172, allocations: 25.48 kB / 355 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.1173, allocations: 55.72 kB / 355 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.1174, allocations: 63.69 kB / 355.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1175, allocations: 0 / 355.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1176, allocations: 55.95 kB / 355.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1177, allocations: 43.84 kB / 355.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.1177, allocations: 61.56 kB / 355.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1179, allocations: 163.9 kB / 355.4 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1179, allocations: 0 / 355.4 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.118, allocations: 7.938 kB / 355.4 MB, free: 472 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.118, allocations: 0 / 355.4 MB, free: 472 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006071/0.1186, allocations: 0.4999 MB / 355.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1186, allocations: 8.031 kB / 355.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1187, allocations: 27.67 kB / 355.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.119, allocations: 270.6 kB / 356.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.119, allocations: 4 kB / 356.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.119, allocations: 8 kB / 356.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1194, allocations: 159.6 kB / 356.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1194, allocations: 3.938 kB / 356.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1194, allocations: 8 kB / 356.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1194, allocations: 0 / 356.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1195, allocations: 39.91 kB / 356.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.12, allocations: 378.4 kB / 356.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1202, allocations: 119.9 kB / 356.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.1203, allocations: 46.56 kB / 357 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1203, allocations: 0 / 357 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1205, allocations: 87.27 kB / 357 MB, free: 14.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1205, allocations: 0 / 357 MB, free: 14.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003503/0.1209, allocations: 153.3 kB / 357.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.121, allocations: 158.5 kB / 357.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.1213, allocations: 330.6 kB / 357.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1213, allocations: 25.7 kB / 357.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.1214, allocations: 132 kB / 357.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1215, allocations: 15.84 kB / 357.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.1215, allocations: 4 kB / 357.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1216, allocations: 330.8 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.1217, allocations: 27.92 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1218, allocations: 86.86 kB / 358.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.1219, allocations: 27.98 kB / 358.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1219, allocations: 0 / 358.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002019/0.1221, allocations: 129.3 kB / 358.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1221, allocations: 7.953 kB / 358.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1221, allocations: 4 kB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1221, allocations: 0 / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.1222, allocations: 19.98 kB / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1222, allocations: 3.938 kB / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.1223, allocations: 4 kB / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1223, allocations: 7.984 kB / 358.5 MB, free: 13.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000124/0.1225, allocations: 155.2 kB / 358.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.1225, allocations: 69.34 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.1226, allocations: 33.66 kB / 358.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1226, allocations: 3.938 kB / 358.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1226, allocations: 8 kB / 358.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1226, allocations: 0 / 358.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1229, allocations: 241.6 kB / 359 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1229, allocations: 0 / 359 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.1229, allocations: 15.92 kB / 359 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.123, allocations: 8.062 kB / 359 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.123, allocations: 0 / 359 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.123, allocations: 3.953 kB / 359 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.123, allocations: 4 kB / 359 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1232, allocations: 158.5 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.1233, allocations: 120.8 kB / 359.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.1234, allocations: 8 kB / 359.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.1234, allocations: 4 kB / 359.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.1235, allocations: 11.94 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1235, allocations: 4 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1237, allocations: 245.9 kB / 359.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1237, allocations: 0 / 359.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.124, allocations: 32 kB / 359.6 MB, free: 11.85 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 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009198/0.1249, allocations: 434.9 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1251, allocations: 67.91 kB / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1252, allocations: 0 / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.1252, allocations: 39.86 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1256, allocations: 60.41 kB / 360.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.1262, allocations: 418.5 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.1265, allocations: 0.7439 MB / 361.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.1265, allocations: 19.44 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1265, allocations: 0 / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Templates: time 0.004889/0.1314, allocations: 2.861 MB / 364.2 MB, free: 7.328 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SubSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleCalcHelperMain.o] Error 1