Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.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.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008818/0.0008819, 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.0009329/0.0009328, 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.538/1.538, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 8 kB / 307.3 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 51.5 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.002221/0.1464, allocations: 1.669 MB / 360.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1475, allocations: 0.6666 MB / 361.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.1476, allocations: 7.938 kB / 361.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.1477, allocations: 11.86 kB / 361.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1478, allocations: 35.7 kB / 361.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1482, allocations: 95.8 kB / 361.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1485, allocations: 299.2 kB / 361.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1487, allocations: 52.72 kB / 361.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.1489, allocations: 131.6 kB / 361.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1491, allocations: 147.4 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.1492, allocations: 16 kB / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.1492, allocations: 16 kB / 361.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.1493, allocations: 59.8 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.1494, allocations: 65.56 kB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1496, allocations: 183.8 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1496, allocations: 4 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1496, allocations: 0 / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1497, allocations: 0 / 362.2 MB, free: 10.68 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001425/0.1511, allocations: 0.7196 MB / 362.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.1511, allocations: 19.95 kB / 363 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.1515, allocations: 59.69 kB / 363 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1517, allocations: 206.5 kB / 363.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.1517, allocations: 20 kB / 363.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.1518, allocations: 31.94 kB / 363.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008197/0.1526, allocations: 382.9 kB / 363.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1526, allocations: 0 / 363.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.1527, allocations: 8 kB / 363.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1527, allocations: 4 kB / 363.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.1535, allocations: 294.5 kB / 363.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1545, allocations: 0.7189 MB / 364.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.1554, allocations: 412.7 kB / 365.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.1559, allocations: 225.6 kB / 365.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.156, allocations: 7.984 kB / 365.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009187/0.1569, allocations: 415.1 kB / 365.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.464e-06/0.1569, allocations: 0 / 365.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.001979/0.1589, allocations: 0.8442 MB / 366.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.159, allocations: 63.39 kB / 366.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1592, allocations: 184.1 kB / 366.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.1592, allocations: 45.69 kB / 366.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1593, allocations: 136.9 kB / 367 MB, free: 5.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.1594, allocations: 106.6 kB / 367.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.1595, allocations: 12 kB / 367.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1596, allocations: 338.8 kB / 367.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.16, allocations: 169 kB / 367.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.1605, allocations: 261.3 kB / 367.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.161, allocations: 257.6 kB / 368.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.161, allocations: 3.953 kB / 368.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001074/0.1621, allocations: 0.6013 MB / 368.7 MB, free: 3.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.1621, allocations: 89.09 kB / 368.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1622, allocations: 7.938 kB / 368.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1622, allocations: 8 kB / 368.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.1626, allocations: 83.83 kB / 368.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.1626, allocations: 7.984 kB / 368.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.1629, allocations: 79.64 kB / 369 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.163, allocations: 19.94 kB / 369 MB, free: 3.574 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.signalExtrema3.t_min,signalExtrema3.t_min,$PRE.signalExtrema3.t_max,signalExtrema3.t_max,$PRE.signalExtrema2.t_min,signalExtrema2.t_min,$PRE.signalExtrema2.t_max,signalExtrema2.t_max,$PRE.signalExtrema1.t_min,signalExtrema1.t_min,$PRE.signalExtrema1.t_max,signalExtrema1.t_max,$whenCondition5,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count,$PRE.signalExtrema3.y_min,signalExtrema3.y_min,$PRE.signalExtrema3.y_max,signalExtrema3.y_max) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 3 * 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.0002266/0.1632, allocations: 169.7 kB / 369.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.1633, allocations: 27.67 kB / 369.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.1634, allocations: 34.98 kB / 369.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1634, allocations: 4 kB / 369.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.1634, allocations: 0 / 369.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1634, allocations: 0 / 369.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1638, allocations: 345.2 kB / 369.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1638, allocations: 4 kB / 369.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.1641, allocations: 55.91 kB / 369.6 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1641, allocations: 3.938 kB / 369.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.1642, allocations: 23.97 kB / 369.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1642, allocations: 0 / 369.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1642, allocations: 0 / 369.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.1661, allocations: 0.9345 MB / 370.6 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.1662, allocations: 100.8 kB / 370.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.1663, allocations: 23.98 kB / 370.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.1666, allocations: 75.92 kB / 370.8 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1668, allocations: 55.92 kB / 370.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.1668, allocations: 27.97 kB / 370.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1669, allocations: 131.3 kB / 371 MB, free: 1.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1669, allocations: 0 / 371 MB, free: 1.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1673, allocations: 79.98 kB / 371.1 MB, free: 1.406 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (signalExtrema3.x,signalExtrema1.x,signalExtrema2.x) * Number of discrete variables: 28 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,sawTooth1.T_start,sawTooth1.count,signalExtrema3.y_min,signalExtrema3.y_max,signalExtrema3.t_min,signalExtrema3.t_max,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,sawTooth.T_start,sawTooth.count,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: 18 (sawTooth.count,signalExtrema1.y_max,signalExtrema1.t_max,signalExtrema1.y_min,signalExtrema1.t_min,signalExtrema1.u,signalExtrema2.y_max,signalExtrema2.t_max,signalExtrema2.y_min,signalExtrema2.t_min,signalExtrema2.u,pulse.count,sawTooth1.count,signalExtrema3.y_max,signalExtrema3.t_max,signalExtrema3.y_min,signalExtrema3.t_min,signalExtrema3.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0001874/0.1675, allocations: 121.4 kB / 371.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.1687, allocations: 0.6468 MB / 371.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1687, allocations: 4.062 kB / 371.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.1693, allocations: 291.7 kB / 372.1 MB, free: 312 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1697, allocations: 40.09 kB / 372.1 MB, free: 272 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2242/0.3939, allocations: 0.6493 MB / 372.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3942, allocations: 0.7542 MB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3944, allocations: 29.22 kB / 373.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3944, allocations: 0 / 373.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of Templates: time 0.01081/0.4052, allocations: 3.855 MB / 377.4 MB, free: 19.16 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.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.DemonstrateContinuousSignalExtremaCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtremaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtremaCalcHelperMain.o] Error 1