Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 51.48 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001911/0.1388, allocations: 1.309 MB / 360.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000895/0.1397, allocations: 0.5224 MB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.1398, allocations: 7.938 kB / 360.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.1398, allocations: 0 / 360.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.14, allocations: 3.938 kB / 360.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1403, allocations: 55.81 kB / 360.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.822e-05/0.1404, allocations: 47.84 kB / 360.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.1405, allocations: 19.98 kB / 360.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1406, allocations: 27.86 kB / 360.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.1407, allocations: 27.78 kB / 360.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1408, allocations: 4 kB / 360.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.296e-05/0.1408, allocations: 4 kB / 360.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1409, allocations: 11.92 kB / 360.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1409, allocations: 33.7 kB / 360.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1411, allocations: 47.84 kB / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.1411, allocations: 4 kB / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1411, allocations: 0 / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1411, allocations: 0 / 360.9 MB, free: 11.99 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006259/0.1417, allocations: 379.2 kB / 361.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1418, allocations: 8.031 kB / 361.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.142, allocations: 19.89 kB / 361.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1423, allocations: 192.8 kB / 361.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1423, allocations: 8 kB / 361.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1424, allocations: 3.953 kB / 361.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1428, allocations: 142.7 kB / 361.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1428, allocations: 0 / 361.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1428, allocations: 4 kB / 361.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1428, allocations: 3.938 kB / 361.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.609e-05/0.1429, allocations: 35.91 kB / 361.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1433, allocations: 287.4 kB / 362 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1435, allocations: 90.36 kB / 362.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.1436, allocations: 55.47 kB / 362.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1436, allocations: 7.984 kB / 362.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1436, allocations: 34.56 kB / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1436, allocations: 0 / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003302/0.144, allocations: 109.5 kB / 362.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.1441, allocations: 136.5 kB / 362.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1442, allocations: 144.5 kB / 362.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1442, allocations: 25.7 kB / 362.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.1443, allocations: 100.3 kB / 362.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.1443, allocations: 3.906 kB / 362.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.1443, allocations: 0 / 362.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1445, allocations: 322.8 kB / 363 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.1445, allocations: 12 kB / 363 MB, free: 9.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.1446, allocations: 56.22 kB / 363 MB, free: 9.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.655e-05/0.1447, allocations: 23.92 kB / 363.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1447, allocations: 3.953 kB / 363.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001677/0.1449, allocations: 85.47 kB / 363.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1449, allocations: 11.98 kB / 363.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1449, allocations: 0 / 363.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1449, allocations: 0 / 363.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.145, allocations: 12 kB / 363.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.145, allocations: 0 / 363.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1451, allocations: 7.984 kB / 363.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1451, allocations: 4.156 kB / 363.2 MB, free: 9.395 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.0001099/0.1452, allocations: 133.7 kB / 363.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.1453, allocations: 57.55 kB / 363.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.1454, allocations: 11.88 kB / 363.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1454, allocations: 0 / 363.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.1454, allocations: 4 kB / 363.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1454, allocations: 3.984 kB / 363.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1456, allocations: 169.7 kB / 363.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1456, allocations: 3.938 kB / 363.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.1457, allocations: 31.94 kB / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1457, allocations: 0 / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1457, allocations: 4 kB / 363.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1457, allocations: 0 / 363.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1457, allocations: 4 kB / 363.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.1459, allocations: 194 kB / 363.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.146, allocations: 96.98 kB / 363.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.146, allocations: 11.89 kB / 363.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.1461, allocations: 4 kB / 363.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1462, allocations: 0 / 363.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1462, allocations: 4 kB / 363.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.871e-05/0.1463, allocations: 118.8 kB / 364 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1463, allocations: 0 / 364 MB, free: 8.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1465, allocations: 8 kB / 364 MB, free: 8.441 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.000109/0.1466, allocations: 95.25 kB / 364.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.1468, allocations: 47.91 kB / 364.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1468, allocations: 4.312 kB / 364.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.1468, allocations: 15.94 kB / 364.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1472, allocations: 34.75 kB / 364.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.1476, allocations: 250 kB / 364.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1479, allocations: 0.7004 MB / 365.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1479, allocations: 11.44 kB / 365.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1479, allocations: 0 / 365.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of Templates: time 0.00244/0.1504, allocations: 0.9166 MB / 366.1 MB, free: 6.297 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldCalcHelperMain.o] Error 1