Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007729/0.0007729, allocations: 93.03 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008702/0.0008702, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002223/0.0002225, allocations: 8 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1098, allocations: 51.48 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002304/0.1121, allocations: 1.584 MB / 360.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1142, allocations: 1.236 MB / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1143, allocations: 4 kB / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1146, allocations: 59.73 kB / 361.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1149, allocations: 111.6 kB / 361.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.1155, allocations: 223.2 kB / 362 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1157, allocations: 159.5 kB / 362.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.1158, allocations: 29.66 kB / 362.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.1159, allocations: 75.62 kB / 362.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.068e-05/0.116, allocations: 75.62 kB / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.116, allocations: 4 kB / 362.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1161, allocations: 43.97 kB / 362.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.1162, allocations: 47.83 kB / 362.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1162, allocations: 53.58 kB / 362.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1164, allocations: 187.9 kB / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1164, allocations: 0 / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1165, allocations: 0 / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1165, allocations: 0 / 362.7 MB, free: 10.02 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006223/0.1171, allocations: 0.5154 MB / 363.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1171, allocations: 12.03 kB / 363.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.1172, allocations: 19.72 kB / 363.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.1175, allocations: 282.4 kB / 363.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1175, allocations: 8 kB / 363.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1176, allocations: 4 kB / 363.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1179, allocations: 198.3 kB / 363.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1179, allocations: 0 / 363.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.118, allocations: 4 kB / 363.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.118, allocations: 4 kB / 363.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1181, allocations: 39.91 kB / 363.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.1186, allocations: 403.2 kB / 364.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.1188, allocations: 142.5 kB / 364.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.119, allocations: 59.41 kB / 364.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.119, allocations: 4 kB / 364.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1192, allocations: 79.31 kB / 364.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1192, allocations: 0 / 364.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00038/0.1196, allocations: 173.4 kB / 364.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.1197, allocations: 184.3 kB / 364.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.12, allocations: 343 kB / 365.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1201, allocations: 33.7 kB / 365.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.1202, allocations: 132.2 kB / 365.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1202, allocations: 19.83 kB / 365.3 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.1202, allocations: 7.938 kB / 365.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1203, allocations: 338.8 kB / 365.6 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.1204, allocations: 23.98 kB / 365.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1205, allocations: 104.5 kB / 365.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.1206, allocations: 44.06 kB / 365.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1206, allocations: 0 / 365.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002349/0.1209, allocations: 141.2 kB / 365.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1209, allocations: 4 kB / 365.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1209, allocations: 4 kB / 365.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1209, allocations: 4 kB / 365.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.121, allocations: 19.98 kB / 366 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.121, allocations: 4.188 kB / 366 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.1211, allocations: 15.91 kB / 366 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1212, allocations: 7.938 kB / 366 MB, free: 6.336 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001444/0.1213, allocations: 157.8 kB / 366.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1214, allocations: 81.34 kB / 366.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.1215, allocations: 29.73 kB / 366.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1215, allocations: 0 / 366.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1215, allocations: 8.094 kB / 366.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1215, allocations: 0 / 366.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1217, allocations: 253.5 kB / 366.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1217, allocations: 0 / 366.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.1218, allocations: 19.92 kB / 366.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1218, allocations: 0 / 366.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1218, allocations: 8 kB / 366.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1218, allocations: 0 / 366.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1218, allocations: 4 kB / 366.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1221, allocations: 183.3 kB / 366.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1222, allocations: 120.8 kB / 366.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1223, allocations: 4 kB / 366.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1223, allocations: 16.05 kB / 366.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1224, allocations: 7.938 kB / 366.9 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1224, allocations: 7.984 kB / 366.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.1227, allocations: 257.9 kB / 367.1 MB, free: 5.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1227, allocations: 0 / 367.1 MB, free: 5.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1229, allocations: 36 kB / 367.1 MB, free: 5.055 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.0008919/0.1238, allocations: 418.8 kB / 367.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1241, allocations: 84.09 kB / 367.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1241, allocations: 4.062 kB / 367.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.1242, allocations: 28.11 kB / 367.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1245, allocations: 77.48 kB / 367.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.1252, allocations: 464 kB / 368.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1255, allocations: 0.7479 MB / 368.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1255, allocations: 23.42 kB / 369 MB, free: 3.305 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1255, allocations: 0 / 369 MB, free: 3.305 MB / 302.1 MB Notification: Performance of Templates: time 0.0054/0.131, allocations: 3.119 MB / 372.1 MB, free: 200 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.o] Error 1