Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.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.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009887/0.0009887, allocations: 89.64 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.001262/0.001263, allocations: 196.3 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.746/1.746, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 11.98 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.002034/0.1437, allocations: 1.4 MB / 360.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1447, allocations: 0.6004 MB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.1448, allocations: 0 / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1449, allocations: 7.938 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.145, allocations: 19.8 kB / 360.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1452, allocations: 55.92 kB / 360.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1454, allocations: 127.6 kB / 361 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1456, allocations: 40.75 kB / 361 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.1457, allocations: 51.83 kB / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1458, allocations: 59.75 kB / 361.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1459, allocations: 11.98 kB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.1459, allocations: 12 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.146, allocations: 23.91 kB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.146, allocations: 49.64 kB / 361.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1462, allocations: 92.03 kB / 361.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1462, allocations: 4 kB / 361.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1462, allocations: 0 / 361.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1462, allocations: 0 / 361.3 MB, free: 11.56 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007584/0.147, allocations: 466.3 kB / 361.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.1471, allocations: 8.031 kB / 361.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.1473, allocations: 35.88 kB / 361.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1476, allocations: 201.6 kB / 362 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1476, allocations: 15.89 kB / 362 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.1477, allocations: 11.94 kB / 362.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.1481, allocations: 189.5 kB / 362.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1482, allocations: 0 / 362.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1482, allocations: 0 / 362.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1482, allocations: 0 / 362.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.1486, allocations: 123.9 kB / 362.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.1493, allocations: 436.3 kB / 362.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.1499, allocations: 234.4 kB / 363 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.1502, allocations: 116.8 kB / 363.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1502, allocations: 4 kB / 363.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.1506, allocations: 187.2 kB / 363.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.1507, allocations: 0 / 363.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009941/0.1517, allocations: 409.4 kB / 363.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.1517, allocations: 71.33 kB / 363.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1519, allocations: 134.1 kB / 363.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1519, allocations: 33.7 kB / 364 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.152, allocations: 108.4 kB / 364.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.1521, allocations: 39.45 kB / 364.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/0.1521, allocations: 4 kB / 364.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1522, allocations: 326.8 kB / 364.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1523, allocations: 47.97 kB / 364.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1525, allocations: 121.6 kB / 364.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1526, allocations: 59.98 kB / 364.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1527, allocations: 4 kB / 364.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003593/0.153, allocations: 213.2 kB / 364.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.153, allocations: 11.94 kB / 364.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1531, allocations: 0 / 364.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1531, allocations: 4.281 kB / 364.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1533, allocations: 39.92 kB / 364.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1533, allocations: 7.953 kB / 364.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.1534, allocations: 23.83 kB / 364.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1534, allocations: 8 kB / 364.9 MB, free: 7.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.signalExtrema2.t_max,signalExtrema2.t_max,$PRE.signalExtrema2.t_min,signalExtrema2.t_min,$PRE.signalExtrema1.t_max,signalExtrema1.t_max,$PRE.signalExtrema1.t_min,signalExtrema1.t_min,$whenCondition2,$whenCondition1,$PRE.signalExtrema1.y_min,signalExtrema1.y_min,$PRE.signalExtrema1.y_max,signalExtrema1.y_max,$PRE.signalExtrema2.y_min,signalExtrema2.y_min,$PRE.signalExtrema2.y_max,signalExtrema2.y_max) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001203/0.1535, allocations: 136.2 kB / 365.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.1536, allocations: 11.89 kB / 365.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007254/0.1543, allocations: 321 kB / 365.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1543, allocations: 4 kB / 365.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1543, allocations: 0 / 365.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1543, allocations: 3.953 kB / 365.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1554, allocations: 0.6114 MB / 366 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1554, allocations: 3.938 kB / 366 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1555, allocations: 15.98 kB / 366 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1555, allocations: 4 kB / 366 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1555, allocations: 3.984 kB / 366.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1556, allocations: 7.953 kB / 366.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1556, allocations: 0 / 366.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1567, allocations: 0.5251 MB / 366.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.1567, allocations: 84.95 kB / 366.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.1568, allocations: 15.98 kB / 366.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.157, allocations: 35.97 kB / 366.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.157, allocations: 20 kB / 366.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1571, allocations: 7.984 kB / 366.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.787e-05/0.1572, allocations: 101.8 kB / 366.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1572, allocations: 0 / 366.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1575, allocations: 28 kB / 366.9 MB, free: 5.652 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sine.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,signalExtrema1.y_min,signalExtrema1.y_max,signalExtrema1.t_min,signalExtrema1.t_max,signalExtrema2.y_min,signalExtrema2.y_max,signalExtrema2.t_min,signalExtrema2.t_max) * Number of discrete states: 8 (signalExtrema2.y_min,signalExtrema2.y_max,signalExtrema2.t_max,signalExtrema2.t_min,signalExtrema1.y_min,signalExtrema1.y_max,signalExtrema1.t_max,signalExtrema1.t_min) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002337/0.1577, allocations: 126.5 kB / 367 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.1582, allocations: 180.3 kB / 367.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.1582, allocations: 4.125 kB / 367.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.1585, allocations: 107.9 kB / 367.3 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1587, allocations: 11.92 kB / 367.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.1596, allocations: 411.6 kB / 367.7 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1599, allocations: 0.7043 MB / 368.4 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.16, allocations: 19.42 kB / 368.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.16, allocations: 0 / 368.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of Templates: time 0.003549/0.1636, allocations: 1.564 MB / 370 MB, free: 2.477 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.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.Blocks.Examples.DemonstrateSignalExtremaCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtremaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtremaCalcHelperMain.o] Error 1