Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008551/0.0008552, allocations: 92.44 kB / 16.33 MB, free: 6.398 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.0008327/0.0008327, allocations: 188.4 kB / 17.22 MB, free: 6.285 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.521/1.521, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.1905/0.1905, allocations: 43.55 MB / 315.2 MB, free: 0.5664 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.0004994/0.0004994, allocations: 12.94 kB / 384.5 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1171, allocations: 58.85 MB / 443.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0008305/0.118, allocations: 268.5 kB / 443.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.1187, allocations: 384.5 kB / 444 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.1188, allocations: 0 / 444 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.1188, allocations: 0 / 444 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.1189, allocations: 0 / 444 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.1193, allocations: 103.8 kB / 444.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.1194, allocations: 23.92 kB / 444.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.1195, allocations: 4.281 kB / 444.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.1195, allocations: 15.92 kB / 444.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1196, allocations: 15.92 kB / 444.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1196, allocations: 4 kB / 444.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.1199, allocations: 155.8 kB / 444.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1199, allocations: 7.938 kB / 444.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.1199, allocations: 29.7 kB / 444.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1201, allocations: 79.81 kB / 444.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.1201, allocations: 0 / 444.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1201, allocations: 3.938 kB / 444.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1202, allocations: 4 kB / 444.5 MB, free: 4.711 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004583/0.1206, allocations: 363.2 kB / 444.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1207, allocations: 12.03 kB / 444.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.1207, allocations: 3.906 kB / 444.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1208, allocations: 171 kB / 445 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1209, allocations: 4 kB / 445 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1209, allocations: 4 kB / 445 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1211, allocations: 53.67 kB / 445.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1211, allocations: 0 / 445.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1211, allocations: 0 / 445.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1211, allocations: 8 kB / 445.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.1212, allocations: 31.92 kB / 445.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.1214, allocations: 177.5 kB / 445.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1216, allocations: 54.56 kB / 445.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1217, allocations: 25.12 kB / 445.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.122, allocations: 121 kB / 445.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.122, allocations: 34.56 kB / 445.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.122, allocations: 0 / 445.5 MB, free: 3.488 MB / 318.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.109/0.231, allocations: 6.603 MB / 452.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2311, allocations: 55.69 kB / 452.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2312, allocations: 105.8 kB / 452.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.2313, allocations: 29.7 kB / 452.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.2313, allocations: 84.08 kB / 452.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.2314, allocations: 70.98 kB / 452.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.2315, allocations: 4 kB / 452.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2316, allocations: 322.8 kB / 452.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.2321, allocations: 247.8 kB / 453 MB, free: 11.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.2326, allocations: 243.8 kB / 453.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009381/0.2336, allocations: 293.4 kB / 453.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2336, allocations: 0 / 453.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001674/0.2353, allocations: 0.6413 MB / 454.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2353, allocations: 11.28 kB / 454.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2353, allocations: 3.984 kB / 454.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2353, allocations: 0 / 454.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.236, allocations: 107.8 kB / 454.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.236, allocations: 3.984 kB / 454.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.2363, allocations: 39.92 kB / 454.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.2364, allocations: 31.94 kB / 454.4 MB, free: 10.54 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 (19): * Single equations (assignments): 19 * 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.0001486/0.2366, allocations: 121.8 kB / 454.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2366, allocations: 11.91 kB / 454.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.2386, allocations: 0.7595 MB / 455.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2386, allocations: 0 / 455.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2387, allocations: 8 kB / 455.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2387, allocations: 3.984 kB / 455.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.2423, allocations: 1.219 MB / 456.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2423, allocations: 3.953 kB / 456.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.2428, allocations: 104 kB / 456.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2428, allocations: 4 kB / 456.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.2429, allocations: 27.95 kB / 456.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2429, allocations: 3.938 kB / 456.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2429, allocations: 4 kB / 456.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2444, allocations: 0.6134 MB / 457.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.2445, allocations: 85.02 kB / 457.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.2445, allocations: 4 kB / 457.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.2449, allocations: 39.91 kB / 457.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.2449, allocations: 19.92 kB / 457.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.245, allocations: 31.95 kB / 457.4 MB, free: 7.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.129e-05/0.2451, allocations: 79.28 kB / 457.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2451, allocations: 0 / 457.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001787/0.2468, allocations: 0.6406 MB / 458.2 MB, free: 6.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002673/0.2495, allocations: 313.6 kB / 458.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2507, allocations: 483.5 kB / 458.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2507, allocations: 0 / 458.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.2512, allocations: 220.1 kB / 459.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2515, allocations: 19.12 kB / 459.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.2538, allocations: 0.6109 MB / 459.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2542, allocations: 0.7045 MB / 460.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.2546, allocations: 91.22 kB / 460.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2546, allocations: 0 / 460.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of Templates: time 0.02732/0.2819, allocations: 15.99 MB / 476.6 MB, free: 4.098 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.o] Error 1