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.001474/0.001474, allocations: 106.5 kB / 16.52 MB, free: 6.266 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.001586/0.001586, allocations: 192.7 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.537/2.537, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.3169/0.3169, allocations: 43.51 MB / 314.1 MB, free: 0.7461 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.002089/0.002089, allocations: 71.94 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2083, allocations: 57.8 MB / 440.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.005652/0.2141, allocations: 2.144 MB / 442.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.2171, allocations: 1.329 MB / 443.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.2175, allocations: 4 kB / 443.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.2177, allocations: 11.86 kB / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.2181, allocations: 23.78 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009866/0.2191, allocations: 151.6 kB / 444.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.2195, allocations: 176 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.2198, allocations: 91.88 kB / 444.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2201, allocations: 75.7 kB / 444.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2203, allocations: 91.48 kB / 444.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.2203, allocations: 12 kB / 444.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.2208, allocations: 135.9 kB / 444.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.2209, allocations: 43.83 kB / 444.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.221, allocations: 91.41 kB / 444.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.2214, allocations: 223.4 kB / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2214, allocations: 0 / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2214, allocations: 0 / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2214, allocations: 4 kB / 445.1 MB, free: 2.891 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.0008002/0.2222, allocations: 0.5149 MB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.2223, allocations: 12.02 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008984/0.2232, allocations: 68.61 kB / 445.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.2234, allocations: 184.1 kB / 445.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.2234, allocations: 24.94 kB / 445.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.2235, allocations: 24.38 kB / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.2239, allocations: 205.2 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2239, allocations: 0 / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2239, allocations: 8 kB / 446.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.224, allocations: 8 kB / 446.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.2242, allocations: 146.2 kB / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.2252, allocations: 0.6044 MB / 446.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.2257, allocations: 228.2 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.2258, allocations: 69.3 kB / 447.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.2259, allocations: 8.172 kB / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2259, allocations: 30.8 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.122e-06/0.2259, allocations: 4 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004924/0.2264, allocations: 220.1 kB / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.2265, allocations: 59.34 kB / 447.4 MB, free: 328 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.2266, allocations: 101.8 kB / 447.5 MB, free: 216 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2266, allocations: 33.7 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.2267, allocations: 132.5 kB / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2268, allocations: 86.88 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.2269, allocations: 45.72 kB / 447.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.2272, allocations: 322.8 kB / 448.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.2273, allocations: 43.97 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.2274, allocations: 39.97 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.2276, allocations: 122.2 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2276, allocations: 0 / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003362/0.228, allocations: 165.5 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.228, allocations: 15.94 kB / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.228, allocations: 3.938 kB / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.2281, allocations: 0 / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.2285, allocations: 95.94 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.2285, allocations: 0 / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.2286, allocations: 19.78 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2286, allocations: 8 kB / 448.7 MB, free: 15.06 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.0001734/0.2288, allocations: 137.7 kB / 448.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.2288, allocations: 15.84 kB / 448.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.2289, allocations: 25.12 kB / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2289, allocations: 256 / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.2289, allocations: 4 kB / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2289, allocations: 4 kB / 448.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.2293, allocations: 265.4 kB / 449.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2293, allocations: 3.938 kB / 449.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.2297, allocations: 103.9 kB / 449.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2297, allocations: 0 / 449.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2297, allocations: 8 kB / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2297, allocations: 0 / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2297, allocations: 0 / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.2302, allocations: 275.3 kB / 449.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.2303, allocations: 96.88 kB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.2304, allocations: 4 kB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.2305, allocations: 11.94 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.2305, allocations: 11.97 kB / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2306, allocations: 12 kB / 449.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.2306, allocations: 79.28 kB / 449.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2306, allocations: 0 / 449.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.2309, allocations: 51.78 kB / 449.7 MB, free: 13.88 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.0001835/0.2311, allocations: 103.2 kB / 449.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.2314, allocations: 136.3 kB / 450 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2315, allocations: 0 / 450 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.2316, allocations: 79.84 kB / 450 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2319, allocations: 15.94 kB / 450.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.233, allocations: 0.5847 MB / 450.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.2335, allocations: 0.7359 MB / 451.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.2336, allocations: 19.44 kB / 451.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2336, allocations: 0 / 451.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Templates: time 0.005022/0.2386, allocations: 1.718 MB / 453.1 MB, free: 10.43 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