Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008488, allocations: 86.02 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 184.1 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 242.5 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 11.98 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002943/0.1582, allocations: 1.725 MB / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1603, allocations: 1.208 MB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1605, allocations: 4 kB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.1605, allocations: 11.86 kB / 475.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1606, allocations: 27.78 kB / 475.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.1612, allocations: 151.5 kB / 475.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1614, allocations: 160.1 kB / 475.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.1616, allocations: 81.52 kB / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1618, allocations: 55.66 kB / 475.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1619, allocations: 75.56 kB / 475.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1619, allocations: 4 kB / 475.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.1622, allocations: 131.9 kB / 475.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.1622, allocations: 23.86 kB / 475.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.1623, allocations: 53.58 kB / 475.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1626, allocations: 215.7 kB / 476.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1626, allocations: 0 / 476.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1626, allocations: 0 / 476.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1626, allocations: 0 / 476.1 MB, free: 9.809 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.0006326/0.1633, allocations: 491.2 kB / 476.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1633, allocations: 8.031 kB / 476.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.1642, allocations: 63.67 kB / 476.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1644, allocations: 182.8 kB / 476.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.1644, allocations: 24.5 kB / 476.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.1645, allocations: 28 kB / 476.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.1649, allocations: 204.8 kB / 477.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1649, allocations: 0 / 477.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1649, allocations: 12 kB / 477.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.165, allocations: 4 kB / 477.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.1652, allocations: 150.1 kB / 477.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.1661, allocations: 0.6045 MB / 477.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.1667, allocations: 227.3 kB / 478.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1668, allocations: 73.23 kB / 478.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1668, allocations: 4.234 kB / 478.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1669, allocations: 34.8 kB / 478.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.232e-06/0.1669, allocations: 0 / 478.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004528/0.1673, allocations: 223.1 kB / 478.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1674, allocations: 55.41 kB / 478.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.1675, allocations: 105.8 kB / 478.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1675, allocations: 33.7 kB / 478.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.1676, allocations: 140.5 kB / 478.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/0.1677, allocations: 90.64 kB / 478.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.1677, allocations: 8 kB / 478.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1679, allocations: 318.8 kB / 479.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.996e-05/0.168, allocations: 55.89 kB / 479.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.1681, allocations: 39.98 kB / 479.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1682, allocations: 57.39 kB / 479.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1682, allocations: 0 / 479.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002868/0.1685, allocations: 169.5 kB / 479.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1685, allocations: 4 kB / 479.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1685, allocations: 0 / 479.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.1686, allocations: 3.953 kB / 479.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.1689, allocations: 107.9 kB / 479.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1689, allocations: 0 / 479.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.169, allocations: 15.84 kB / 479.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.169, allocations: 8 kB / 479.6 MB, free: 6.105 MB / 350.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.0001196/0.1691, allocations: 130.3 kB / 479.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.1692, allocations: 7.906 kB / 479.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.1692, allocations: 29.12 kB / 479.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1692, allocations: 0 / 479.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1693, allocations: 3.953 kB / 479.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1693, allocations: 7.984 kB / 479.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.1696, allocations: 261.4 kB / 480 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1696, allocations: 3.984 kB / 480 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.1699, allocations: 99.83 kB / 480.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1699, allocations: 4 kB / 480.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1699, allocations: 8 kB / 480.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.17, allocations: 0 / 480.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.17, allocations: 0 / 480.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.1703, allocations: 275.2 kB / 480.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.1703, allocations: 92.94 kB / 480.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1704, allocations: 15.98 kB / 480.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.1704, allocations: 4 kB / 480.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1705, allocations: 15.92 kB / 480.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1705, allocations: 8 kB / 480.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.1706, allocations: 87.47 kB / 480.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1706, allocations: 0 / 480.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1708, allocations: 51.75 kB / 480.7 MB, free: 4.934 MB / 350.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.0001087/0.171, allocations: 99.19 kB / 480.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1712, allocations: 139.9 kB / 480.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1712, allocations: 0 / 480.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1714, allocations: 84.83 kB / 481 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1716, allocations: 8 kB / 481 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.1724, allocations: 0.6169 MB / 481.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1728, allocations: 0.7324 MB / 482.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.1728, allocations: 19.44 kB / 482.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1728, allocations: 0 / 482.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of Templates: time 0.003724/0.1766, allocations: 1.7 MB / 484 MB, free: 1.469 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.o] Error 1