Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.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.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008012/0.0008012, allocations: 99.02 kB / 17.64 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1313, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.002618/0.134, allocations: 1.888 MB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1357, allocations: 0.8535 MB / 361.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1359, allocations: 4 kB / 361.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.1361, allocations: 23.72 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1364, allocations: 83.53 kB / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1367, allocations: 103.8 kB / 361.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.1372, allocations: 366.9 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1374, allocations: 98.2 kB / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.1377, allocations: 135.3 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.138, allocations: 163.1 kB / 362.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.138, allocations: 12 kB / 362.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.1381, allocations: 28 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.1382, allocations: 71.66 kB / 362.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.1383, allocations: 77.52 kB / 362.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.1386, allocations: 291.6 kB / 363 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.1386, allocations: 0 / 363 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1387, allocations: 0 / 363 MB, free: 9.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.1387, allocations: 0 / 363 MB, free: 9.941 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001429/0.1401, allocations: 0.647 MB / 363.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1402, allocations: 8.031 kB / 363.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.1405, allocations: 71.5 kB / 363.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/0.1411, allocations: 359.3 kB / 364 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.1412, allocations: 32.31 kB / 364.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.1412, allocations: 39.84 kB / 364.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.1418, allocations: 259.2 kB / 364.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1418, allocations: 0 / 364.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1419, allocations: 12 kB / 364.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1419, allocations: 4 kB / 364.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.1424, allocations: 201.6 kB / 364.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1439, allocations: 0.8064 MB / 365.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1444, allocations: 203.2 kB / 365.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.1447, allocations: 106.5 kB / 365.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1447, allocations: 192 / 365.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.1452, allocations: 253.2 kB / 365.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.1453, allocations: 0 / 365.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.000972/0.1462, allocations: 405.1 kB / 366.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1463, allocations: 59.41 kB / 366.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.1467, allocations: 324.3 kB / 366.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.1467, allocations: 37.7 kB / 366.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1469, allocations: 184.6 kB / 366.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.147, allocations: 82.81 kB / 367 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.147, allocations: 8 kB / 367 MB, free: 5.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1472, allocations: 346.8 kB / 367.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1474, allocations: 108.7 kB / 367.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.1478, allocations: 257.7 kB / 367.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.1483, allocations: 157.6 kB / 367.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.1483, allocations: 4 kB / 367.9 MB, free: 4.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008759/0.1492, allocations: 438.6 kB / 368.3 MB, free: 4.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.1493, allocations: 37.64 kB / 368.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1493, allocations: 4 kB / 368.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1493, allocations: 8 kB / 368.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.1496, allocations: 80.17 kB / 368.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1496, allocations: 11.89 kB / 368.4 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.1501, allocations: 51.66 kB / 368.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.1501, allocations: 16 kB / 368.5 MB, free: 4.094 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.rectifiedMean.mean.y_last,rectifiedMean.mean.y_last,$PRE.mean.y_last,mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean2.y_last,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * 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.000275/0.1504, allocations: 167.5 kB / 368.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.1505, allocations: 39.5 kB / 368.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/0.1512, allocations: 330.2 kB / 369 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1513, allocations: 4.047 kB / 369 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1513, allocations: 3.984 kB / 369 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1513, allocations: 3.953 kB / 369 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.1517, allocations: 361.2 kB / 369.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1518, allocations: 0 / 369.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.152, allocations: 51.91 kB / 369.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.152, allocations: 4 kB / 369.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.152, allocations: 7.984 kB / 369.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1521, allocations: 4 kB / 369.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1521, allocations: 0 / 369.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1531, allocations: 480.9 kB / 369.9 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1532, allocations: 108.7 kB / 370 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.1533, allocations: 16.05 kB / 370 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.1536, allocations: 19.98 kB / 370 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1537, allocations: 27.95 kB / 370.1 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.1537, allocations: 16.17 kB / 370.1 MB, free: 2.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.154, allocations: 227.1 kB / 370.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.914e-06/0.154, allocations: 0 / 370.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.1544, allocations: 71.78 kB / 370.4 MB, free: 2.086 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 13 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,mean.y_last,rectifiedMean.mean.y_last,rootMeanSquare.mean.y_last,harmonic.mean1.y_last,harmonic.mean2.y_last) * Number of discrete states: 6 (pulse.count,mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0002321/0.1546, allocations: 115.2 kB / 370.5 MB, free: 1.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.1554, allocations: 346.3 kB / 370.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1554, allocations: 256 / 370.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.1558, allocations: 135.9 kB / 371 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.1562, allocations: 56.98 kB / 371 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1576, allocations: 0.7424 MB / 371.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2418/0.3994, allocations: 0.7845 MB / 372.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.3997, allocations: 33.95 kB / 372.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3997, allocations: 0.5 kB / 372.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of Templates: time 0.01016/0.4099, allocations: 4.181 MB / 376.8 MB, free: 19.38 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.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.DemoSignalCharacteristicCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristicCalcHelperMain.o] Error 1