Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 92.81 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 191 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2551/0.2551, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002753, allocations: 11.98 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 63.46 MB / 482.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002827/0.1551, allocations: 1.745 MB / 483.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1571, allocations: 1.251 MB / 485.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.1572, allocations: 4 kB / 485.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.1573, allocations: 11.86 kB / 485.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1574, allocations: 23.78 kB / 485.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.1578, allocations: 151.5 kB / 485.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.158, allocations: 176.1 kB / 485.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1582, allocations: 73.58 kB / 485.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1584, allocations: 55.72 kB / 485.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1585, allocations: 59.62 kB / 485.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1585, allocations: 8 kB / 485.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.1588, allocations: 135.9 kB / 485.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.1589, allocations: 31.78 kB / 485.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1589, allocations: 53.64 kB / 485.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1592, allocations: 219.6 kB / 486.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1592, allocations: 4 kB / 486.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1592, allocations: 0 / 486.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1592, allocations: 0 / 486.1 MB, free: 1.387 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006087/0.1599, allocations: 491.1 kB / 486.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1599, allocations: 12.03 kB / 486.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008984/0.1608, allocations: 79.66 kB / 486.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.161, allocations: 182.8 kB / 486.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1611, allocations: 20.56 kB / 486.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1612, allocations: 31.94 kB / 486.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1616, allocations: 204.8 kB / 487.1 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1616, allocations: 0 / 487.1 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1616, allocations: 12 kB / 487.1 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/0.1617, allocations: 8 kB / 487.1 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.162, allocations: 146.2 kB / 487.3 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009146/0.1629, allocations: 0.6044 MB / 487.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.1634, allocations: 234.9 kB / 488.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1636, allocations: 65.3 kB / 488.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1636, allocations: 8.234 kB / 488.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1637, allocations: 34.73 kB / 488.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.393e-06/0.1637, allocations: 0 / 488.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004924/0.1642, allocations: 222 kB / 488.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1642, allocations: 55.39 kB / 488.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.1643, allocations: 101.9 kB / 488.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1643, allocations: 25.7 kB / 488.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.484e-05/0.1644, allocations: 136.5 kB / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.1645, allocations: 90.66 kB / 488.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.1645, allocations: 8 kB / 488.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1647, allocations: 322.8 kB / 489.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.1648, allocations: 43.97 kB / 489.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.522e-05/0.1649, allocations: 48.19 kB / 489.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.165, allocations: 51.98 kB / 489.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.165, allocations: 3.938 kB / 489.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002693/0.1653, allocations: 173.5 kB / 489.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1653, allocations: 8 kB / 489.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1653, allocations: 0 / 489.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1653, allocations: 0 / 489.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.1657, allocations: 99.88 kB / 489.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1657, allocations: 8 kB / 489.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.1658, allocations: 15.84 kB / 489.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1658, allocations: 11.94 kB / 489.6 MB, free: 13.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.0001039/0.1659, allocations: 121.8 kB / 489.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.166, allocations: 11.86 kB / 489.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.166, allocations: 25.12 kB / 489.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.1661, allocations: 11.92 kB / 489.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1661, allocations: 3.938 kB / 489.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1661, allocations: 4 kB / 489.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.1664, allocations: 273.4 kB / 490 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1664, allocations: 0 / 490 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.1668, allocations: 91.95 kB / 490.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1668, allocations: 3.953 kB / 490.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1668, allocations: 4 kB / 490.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1668, allocations: 4 kB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1668, allocations: 4 kB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.1672, allocations: 280 kB / 490.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.1673, allocations: 88.95 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1673, allocations: 11.94 kB / 490.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.1674, allocations: 8 kB / 490.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.1675, allocations: 15.98 kB / 490.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1675, allocations: 8.25 kB / 490.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.1676, allocations: 87.27 kB / 490.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1676, allocations: 0 / 490.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1679, allocations: 51.75 kB / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.0001501/0.168, allocations: 99.72 kB / 490.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.1683, allocations: 135.9 kB / 490.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1683, allocations: 0 / 490.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1685, allocations: 79.91 kB / 491 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.1688, allocations: 18.61 kB / 491 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.1698, allocations: 0.6242 MB / 491.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.1702, allocations: 0.7324 MB / 492.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.1703, allocations: 19.38 kB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1703, allocations: 0 / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Templates: time 0.003557/0.1739, allocations: 1.698 MB / 494.1 MB, free: 9.023 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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 OMCppModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.o] Error 1