Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009658/0.0009658, allocations: 95.48 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.001212/0.001212, allocations: 183 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.485/1.485, allocations: 223.2 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 11.94 kB / 301.5 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 50.42 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002374/0.1418, allocations: 1.518 MB / 353.4 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.143, allocations: 0.5927 MB / 354 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.1431, allocations: 7.938 kB / 354 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1433, allocations: 15.86 kB / 354 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1434, allocations: 19.78 kB / 354 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1438, allocations: 87.86 kB / 354.1 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.144, allocations: 123.6 kB / 354.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1442, allocations: 41.7 kB / 354.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.1443, allocations: 39.78 kB / 354.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.1444, allocations: 43.72 kB / 354.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1444, allocations: 4 kB / 354.4 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.879e-05/0.1444, allocations: 4 kB / 354.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.1445, allocations: 19.86 kB / 354.4 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.1445, allocations: 45.64 kB / 354.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1447, allocations: 95.73 kB / 354.5 MB, free: 1.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1447, allocations: 0 / 354.5 MB, free: 1.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1447, allocations: 0 / 354.5 MB, free: 1.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1447, allocations: 0 / 354.5 MB, free: 1.371 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006483/0.1454, allocations: 443.1 kB / 355 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1454, allocations: 8.031 kB / 355 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1455, allocations: 23.77 kB / 355 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1458, allocations: 228.6 kB / 355.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1458, allocations: 8.188 kB / 355.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.1458, allocations: 4 kB / 355.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.1465, allocations: 306.6 kB / 355.5 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1465, allocations: 4 kB / 355.5 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1465, allocations: 4 kB / 355.5 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1465, allocations: 4 kB / 355.5 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.1467, allocations: 83.88 kB / 355.6 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.1473, allocations: 439.3 kB / 356 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.1477, allocations: 298.1 kB / 356.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1479, allocations: 124.3 kB / 356.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.148, allocations: 4 kB / 356.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.148, allocations: 38.56 kB / 356.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.148, allocations: 0 / 356.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005654/0.1486, allocations: 237.5 kB / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.1487, allocations: 203.9 kB / 356.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1489, allocations: 175.1 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1489, allocations: 29.7 kB / 357.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.149, allocations: 104.4 kB / 357.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.149, allocations: 15.89 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.1491, allocations: 4 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1492, allocations: 330.8 kB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.1493, allocations: 27.98 kB / 357.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1494, allocations: 139.4 kB / 357.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1495, allocations: 51.95 kB / 357.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1495, allocations: 0 / 357.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002822/0.1498, allocations: 181.3 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1499, allocations: 4 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1499, allocations: 4 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1499, allocations: 8.531 kB / 358 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1501, allocations: 43.91 kB / 358 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1501, allocations: 7.938 kB / 358 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.1502, allocations: 19.92 kB / 358 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1502, allocations: 15.95 kB / 358.1 MB, free: 13.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001206/0.1503, allocations: 133.7 kB / 358.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.1506, allocations: 161.7 kB / 358.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.1507, allocations: 17.41 kB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1507, allocations: 4 kB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1507, allocations: 4 kB / 358.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1507, allocations: 0 / 358.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1511, allocations: 221.5 kB / 358.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1511, allocations: 0 / 358.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1512, allocations: 44 kB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1512, allocations: 0 / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1513, allocations: 8 kB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1513, allocations: 7.938 kB / 358.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1513, allocations: 0 / 358.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1517, allocations: 373 kB / 359 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1518, allocations: 108.8 kB / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1519, allocations: 8 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.152, allocations: 16 kB / 359.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.1521, allocations: 15.92 kB / 359.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1521, allocations: 4 kB / 359.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1522, allocations: 133.2 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1522, allocations: 0 / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003288/0.1525, allocations: 20 kB / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001373/0.1527, allocations: 103.2 kB / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.153, allocations: 132.7 kB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.153, allocations: 4 kB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.1531, allocations: 16.06 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.1537, allocations: 119 kB / 359.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.1544, allocations: 391 kB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1548, allocations: 0.728 MB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.1548, allocations: 19.38 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1548, allocations: 0 / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Templates: time 0.003886/0.1587, allocations: 1.794 MB / 362.6 MB, free: 8.695 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2CalcHelperMain.o] Error 1