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.0007328/0.0007327, allocations: 90.98 kB / 16.33 MB, free: 5.953 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.0008101/0.0008102, allocations: 186.7 kB / 17.22 MB, free: 5.883 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.343/1.343, allocations: 205.4 MB / 223.4 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3217/0.3217, allocations: 43.54 MB / 315.2 MB, free: 8.902 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.0004849/0.0004849, allocations: 12 kB / 384.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 58.85 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00222/0.1122, allocations: 1.734 MB / 445.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1144, allocations: 1.202 MB / 446.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1146, allocations: 4 kB / 446.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.1146, allocations: 19.78 kB / 446.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1147, allocations: 23.84 kB / 446.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1152, allocations: 151.5 kB / 446.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1154, allocations: 164.1 kB / 446.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.1156, allocations: 85.53 kB / 446.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1157, allocations: 51.72 kB / 446.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.1158, allocations: 63.58 kB / 446.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1158, allocations: 4 kB / 446.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.1161, allocations: 131.9 kB / 447 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.1161, allocations: 31.84 kB / 447.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1162, allocations: 53.58 kB / 447.1 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.1164, allocations: 211.7 kB / 447.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1164, allocations: 0 / 447.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1164, allocations: 0 / 447.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1164, allocations: 0 / 447.3 MB, free: 9.137 MB / 382.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.0005393/0.117, allocations: 495 kB / 447.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.117, allocations: 8.031 kB / 447.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/0.1178, allocations: 79.7 kB / 447.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1179, allocations: 182.7 kB / 448.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.118, allocations: 24.55 kB / 448.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.118, allocations: 24 kB / 448.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.1183, allocations: 200.8 kB / 448.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1184, allocations: 4 kB / 448.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1184, allocations: 12 kB / 448.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1184, allocations: 8 kB / 448.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.1187, allocations: 150.1 kB / 448.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.1195, allocations: 0.589 MB / 449.1 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.1199, allocations: 235.3 kB / 449.3 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1201, allocations: 73.3 kB / 449.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1201, allocations: 240 / 449.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1201, allocations: 34.8 kB / 449.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.122e-06/0.1201, allocations: 0 / 449.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.000412/0.1206, allocations: 230.3 kB / 449.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1206, allocations: 55.41 kB / 449.7 MB, free: 6.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.1207, allocations: 101.8 kB / 449.8 MB, free: 6.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1207, allocations: 33.7 kB / 449.8 MB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.1208, allocations: 128.5 kB / 449.9 MB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.1208, allocations: 86.66 kB / 450 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.1209, allocations: 12 kB / 450 MB, free: 6.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.121, allocations: 322.8 kB / 450.3 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.1211, allocations: 47.97 kB / 450.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.1212, allocations: 48.91 kB / 450.4 MB, free: 5.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.1213, allocations: 48.45 kB / 450.5 MB, free: 5.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1213, allocations: 0 / 450.5 MB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002474/0.1215, allocations: 173.5 kB / 450.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1215, allocations: 4 kB / 450.7 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1216, allocations: 4.188 kB / 450.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1216, allocations: 7.938 kB / 450.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.1219, allocations: 103.9 kB / 450.8 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1219, allocations: 4 kB / 450.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.122, allocations: 15.84 kB / 450.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.122, allocations: 11.98 kB / 450.8 MB, free: 5.422 MB / 382.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 9.829e-05/0.1221, allocations: 138.7 kB / 450.9 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1222, allocations: 11.91 kB / 451 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.1222, allocations: 21.12 kB / 451 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1222, allocations: 4 kB / 451 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1222, allocations: 0 / 451 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1223, allocations: 4 kB / 451 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1225, allocations: 269.4 kB / 451.2 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1225, allocations: 0 / 451.2 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.1228, allocations: 103.9 kB / 451.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1228, allocations: 4 kB / 451.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1229, allocations: 0 / 451.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1229, allocations: 7.938 kB / 451.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1229, allocations: 0 / 451.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1232, allocations: 275.3 kB / 451.6 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1232, allocations: 96.86 kB / 451.7 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1232, allocations: 4 kB / 451.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.1233, allocations: 8 kB / 451.7 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1234, allocations: 23.91 kB / 451.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.1234, allocations: 8 kB / 451.8 MB, free: 4.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.1234, allocations: 83.28 kB / 451.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1234, allocations: 0 / 451.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1237, allocations: 43.84 kB / 451.9 MB, free: 4.242 MB / 382.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.0001092/0.1238, allocations: 99.19 kB / 452 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1241, allocations: 144.3 kB / 452.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1241, allocations: 0 / 452.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.1242, allocations: 79.84 kB / 452.2 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.1244, allocations: 11.95 kB / 452.2 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.1251, allocations: 0.6203 MB / 452.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1254, allocations: 0.7324 MB / 453.6 MB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.1255, allocations: 23.42 kB / 453.6 MB, free: 2.473 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1255, allocations: 0 / 453.6 MB, free: 2.473 MB / 382.1 MB Notification: Performance of Templates: time 0.003165/0.1286, allocations: 1.706 MB / 455.3 MB, free: 0.7617 MB / 382.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++ 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_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