Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 97.12 kB / 16.96 MB, free: 5.605 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.00149/0.00149, allocations: 186.6 kB / 17.85 MB, free: 5.277 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.8 MB, free: 380 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002745, allocations: 8 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001878/0.122, allocations: 1.292 MB / 353.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.1228, allocations: 491.1 kB / 353.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.1229, allocations: 3.938 kB / 353.7 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.123, allocations: 3.984 kB / 353.7 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1231, allocations: 11.92 kB / 353.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1234, allocations: 58.95 kB / 353.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1235, allocations: 39.86 kB / 353.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.1236, allocations: 15.98 kB / 353.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.1237, allocations: 23.84 kB / 353.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.1238, allocations: 23.86 kB / 353.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1238, allocations: 4 kB / 353.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.1238, allocations: 0 / 353.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.1239, allocations: 8 kB / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.1239, allocations: 41.64 kB / 353.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.302e-05/0.124, allocations: 43.91 kB / 353.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.124, allocations: 0 / 353.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.124, allocations: 0 / 353.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.124, allocations: 0 / 353.9 MB, free: 1.961 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004597/0.1245, allocations: 371.2 kB / 354.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1245, allocations: 12.03 kB / 354.3 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1246, allocations: 11.86 kB / 354.3 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1248, allocations: 202.4 kB / 354.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1248, allocations: 0 / 354.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1248, allocations: 8 kB / 354.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1251, allocations: 130.7 kB / 354.6 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1251, allocations: 7.938 kB / 354.6 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1252, allocations: 7.984 kB / 354.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1252, allocations: 0 / 354.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.1253, allocations: 31.94 kB / 354.7 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1257, allocations: 287.4 kB / 355 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1258, allocations: 94.36 kB / 355.1 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.1259, allocations: 55.48 kB / 355.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1259, allocations: 0 / 355.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.126, allocations: 38.5 kB / 355.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.126, allocations: 0 / 355.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002863/0.1263, allocations: 113.4 kB / 355.3 MB, free: 396 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.1264, allocations: 136.5 kB / 355.4 MB, free: 228 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1265, allocations: 142.9 kB / 355.5 MB, free: 76 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1265, allocations: 29.7 kB / 355.6 MB, free: 40 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1266, allocations: 88.33 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1266, allocations: 11.84 kB / 355.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/0.1266, allocations: 4 kB / 355.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1267, allocations: 314.8 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.1268, allocations: 19.98 kB / 356 MB, free: 15.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.1269, allocations: 48.23 kB / 356 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.959e-05/0.1269, allocations: 19.98 kB / 356.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1269, allocations: 0 / 356.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001475/0.1271, allocations: 93.45 kB / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1271, allocations: 4 kB / 356.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1271, allocations: 4 kB / 356.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1271, allocations: 3.953 kB / 356.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.1272, allocations: 15.98 kB / 356.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1273, allocations: 0 / 356.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.1273, allocations: 4 kB / 356.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1273, allocations: 12.16 kB / 356.2 MB, free: 15.38 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001107/0.1274, allocations: 121.8 kB / 356.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.1275, allocations: 57.55 kB / 356.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.1276, allocations: 11.86 kB / 356.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1276, allocations: 4 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1276, allocations: 3.953 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1276, allocations: 4 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.1278, allocations: 177.6 kB / 356.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1278, allocations: 64 / 356.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.1279, allocations: 16 kB / 356.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1279, allocations: 3.984 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1279, allocations: 4 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1279, allocations: 3.938 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1279, allocations: 0 / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1282, allocations: 202 kB / 356.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.1282, allocations: 93 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1283, allocations: 4 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.1284, allocations: 4 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1284, allocations: 3.984 kB / 356.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1284, allocations: 15.83 kB / 356.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.1285, allocations: 113.3 kB / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.534e-06/0.1285, allocations: 0 / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1288, allocations: 15.94 kB / 357 MB, free: 14.42 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001092/0.1289, allocations: 95.25 kB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.129, allocations: 44.17 kB / 357.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1291, allocations: 4.062 kB / 357.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.1291, allocations: 11.98 kB / 357.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1295, allocations: 36.98 kB / 357.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.1299, allocations: 250 kB / 357.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1302, allocations: 0.6965 MB / 358.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.1302, allocations: 15.38 kB / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1302, allocations: 0 / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002679/0.1329, allocations: 0.9065 MB / 359.1 MB, free: 12.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.HoldCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldCalcHelperMain.o] Error 1