Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 90.58 kB / 16.67 MB, free: 6.586 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.001399/0.001399, allocations: 184.6 kB / 17.58 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2822/0.2822, allocations: 43.58 MB / 315.6 MB, free: 0.5 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.000554, allocations: 19.09 kB / 385.2 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1441, allocations: 58.87 MB / 444.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002466/0.1466, allocations: 1.789 MB / 445.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1486, allocations: 1.29 MB / 447.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.1488, allocations: 4 kB / 447.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.1488, allocations: 15.86 kB / 447.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.149, allocations: 23.84 kB / 447.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1494, allocations: 151.5 kB / 447.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1496, allocations: 168.1 kB / 447.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.1499, allocations: 99.52 kB / 447.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.15, allocations: 59.66 kB / 447.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1501, allocations: 71.52 kB / 447.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1501, allocations: 8 kB / 447.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.1504, allocations: 131.9 kB / 447.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.1504, allocations: 27.86 kB / 447.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.1505, allocations: 105.1 kB / 448 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1508, allocations: 215.5 kB / 448.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1508, allocations: 0 / 448.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1508, allocations: 0 / 448.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1508, allocations: 3.938 kB / 448.2 MB, free: 1.172 MB / 318.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.0006125/0.1514, allocations: 487.3 kB / 448.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1515, allocations: 12.03 kB / 448.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.1523, allocations: 68.7 kB / 448.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1524, allocations: 184 kB / 449 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1524, allocations: 24.88 kB / 449 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1525, allocations: 24.38 kB / 449 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.1528, allocations: 205.2 kB / 449.2 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1529, allocations: 3.938 kB / 449.2 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.1529, allocations: 15.98 kB / 449.2 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1529, allocations: 7.938 kB / 449.2 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.1532, allocations: 158.2 kB / 449.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.1542, allocations: 0.5966 MB / 450 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.1548, allocations: 236.4 kB / 450.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1549, allocations: 77.23 kB / 450.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.155, allocations: 4.172 kB / 450.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.155, allocations: 34.8 kB / 450.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.155, allocations: 0 / 450.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004929/0.1555, allocations: 224.1 kB / 450.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1556, allocations: 55.41 kB / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.1557, allocations: 101.8 kB / 450.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.1557, allocations: 33.7 kB / 450.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.1558, allocations: 132.5 kB / 450.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/0.1559, allocations: 82.75 kB / 451 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.156, allocations: 29.7 kB / 451 MB, free: 14.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1561, allocations: 322.8 kB / 451.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-05/0.1562, allocations: 47.92 kB / 451.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.1563, allocations: 47.97 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1566, allocations: 118.2 kB / 451.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1566, allocations: 0 / 451.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002913/0.1569, allocations: 181.4 kB / 451.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1569, allocations: 7.984 kB / 451.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1569, allocations: 0 / 451.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1569, allocations: 4 kB / 451.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.1573, allocations: 99.89 kB / 451.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1573, allocations: 0 / 451.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.1574, allocations: 23.83 kB / 451.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1574, allocations: 8 kB / 451.8 MB, free: 13.35 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.1576, allocations: 129.7 kB / 452 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1576, allocations: 15.84 kB / 452 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.1577, allocations: 21.12 kB / 452 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1577, allocations: 4 kB / 452 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1577, allocations: 0 / 452 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1577, allocations: 3.984 kB / 452 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.1581, allocations: 269.4 kB / 452.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1581, allocations: 7.875 kB / 452.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.1585, allocations: 103.9 kB / 452.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1585, allocations: 4 kB / 452.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1585, allocations: 0 / 452.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1585, allocations: 0 / 452.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1585, allocations: 7.938 kB / 452.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.1589, allocations: 275.4 kB / 452.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.159, allocations: 92.86 kB / 452.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.159, allocations: 0 / 452.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.1591, allocations: 8 kB / 452.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.1592, allocations: 19.97 kB / 452.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.1592, allocations: 8.25 kB / 452.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.517e-05/0.1592, allocations: 87.28 kB / 452.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.884e-06/0.1593, allocations: 0 / 452.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1595, allocations: 51.72 kB / 452.9 MB, free: 12.18 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.1597, allocations: 103.2 kB / 453 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.16, allocations: 140.3 kB / 453.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.16, allocations: 4 kB / 453.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1601, allocations: 79.84 kB / 453.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.1604, allocations: 15.94 kB / 453.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.1613, allocations: 0.6398 MB / 453.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1616, allocations: 0.732 MB / 454.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.1617, allocations: 27.42 kB / 454.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1617, allocations: 0 / 454.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Templates: time 0.003851/0.1655, allocations: 1.696 MB / 456.3 MB, free: 8.676 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocksCalcHelperMain.o] Error 1