Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 95.39 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.001208/0.001208, allocations: 176.3 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.505/1.505, allocations: 223.2 MB / 241.8 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 4 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 50.43 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001958/0.1187, allocations: 1.269 MB / 353.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008544/0.1196, allocations: 479.1 kB / 353.6 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.1196, allocations: 4 kB / 353.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.1197, allocations: 7.938 kB / 353.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.1198, allocations: 7.922 kB / 353.6 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1201, allocations: 47.89 kB / 353.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.1202, allocations: 39.86 kB / 353.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.1203, allocations: 12.17 kB / 353.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.985e-05/0.1204, allocations: 23.86 kB / 353.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.1205, allocations: 15.92 kB / 353.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1205, allocations: 0 / 353.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.1205, allocations: 8 kB / 353.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.1205, allocations: 11.92 kB / 353.8 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1206, allocations: 37.64 kB / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.621e-05/0.1207, allocations: 35.92 kB / 353.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1207, allocations: 0 / 353.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1207, allocations: 0 / 353.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1207, allocations: 4 kB / 353.9 MB, free: 2.012 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.000467/0.1212, allocations: 367.3 kB / 354.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1212, allocations: 12.03 kB / 354.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1213, allocations: 11.86 kB / 354.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1215, allocations: 193.6 kB / 354.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1215, allocations: 0 / 354.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1215, allocations: 7.938 kB / 354.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1218, allocations: 117.9 kB / 354.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1218, allocations: 0 / 354.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1218, allocations: 3.953 kB / 354.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1218, allocations: 3.938 kB / 354.6 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.1219, allocations: 23.98 kB / 354.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.1222, allocations: 274.6 kB / 354.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1224, allocations: 71.78 kB / 354.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.1224, allocations: 38.62 kB / 355 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1225, allocations: 3.984 kB / 355 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1225, allocations: 38.52 kB / 355 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1225, allocations: 0 / 355 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002538/0.1228, allocations: 93.64 kB / 355.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1228, allocations: 110.8 kB / 355.2 MB, free: 440 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.123, allocations: 137.8 kB / 355.3 MB, free: 292 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.123, allocations: 25.7 kB / 355.4 MB, free: 260 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.123, allocations: 96.06 kB / 355.5 MB, free: 160 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.1231, allocations: 7.906 kB / 355.5 MB, free: 152 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.1231, allocations: 192 / 355.5 MB, free: 152 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1232, allocations: 318.8 kB / 355.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.1233, allocations: 11.98 kB / 355.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.1233, allocations: 39.36 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.1234, allocations: 19.94 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1234, allocations: 0 / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/0.1235, allocations: 81.47 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1236, allocations: 4 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.1236, allocations: 0 / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1236, allocations: 8.125 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.1237, allocations: 8 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1237, allocations: 3.984 kB / 356 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.1237, allocations: 4 kB / 356 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1237, allocations: 0 / 356 MB, free: 15.63 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 7.983e-05/0.1238, allocations: 121.8 kB / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.1239, allocations: 53.55 kB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.124, allocations: 20.02 kB / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.124, allocations: 0 / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.124, allocations: 4 kB / 356.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.124, allocations: 3.984 kB / 356.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1242, allocations: 169.6 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1242, allocations: 4 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.1243, allocations: 8 kB / 356.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1243, allocations: 0 / 356.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1243, allocations: 7.938 kB / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1243, allocations: 8 kB / 356.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1243, allocations: 0 / 356.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1245, allocations: 181.2 kB / 356.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.1246, allocations: 100.9 kB / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1246, allocations: 4 kB / 356.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.1247, allocations: 7.953 kB / 356.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.1247, allocations: 4 kB / 356.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1247, allocations: 3.984 kB / 356.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.216e-05/0.1248, allocations: 105.8 kB / 356.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1248, allocations: 4 kB / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000217/0.125, allocations: 4 kB / 356.8 MB, free: 14.73 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.0001249/0.1251, allocations: 99.25 kB / 356.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1253, allocations: 43.91 kB / 356.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1253, allocations: 0 / 356.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.1253, allocations: 11.94 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1257, allocations: 24.02 kB / 356.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.126, allocations: 232.7 kB / 357.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1263, allocations: 0.6887 MB / 357.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.1264, allocations: 11.44 kB / 357.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1264, allocations: 4 kB / 357.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Templates: time 0.002226/0.1286, allocations: 0.8355 MB / 358.7 MB, free: 12.71 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSampleCalcHelperMain.o] Error 1