Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.0008174/0.0008174, allocations: 91.02 kB / 17.63 MB, free: 6.156 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.0008734/0.0008735, allocations: 178.8 kB / 18.52 MB, free: 5.32 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.508/1.508, allocations: 223.2 MB / 242.5 MB, free: 328 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.2445/0.2445, allocations: 44.22 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 10 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006971/0.1612, allocations: 258.9 kB / 472.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.1621, allocations: 381 kB / 472.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.1621, allocations: 0 / 472.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1621, allocations: 0 / 472.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.1622, allocations: 7.938 kB / 472.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1626, allocations: 95.75 kB / 472.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.1627, allocations: 23.98 kB / 472.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1627, allocations: 4 kB / 472.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.1627, allocations: 7.938 kB / 472.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.1628, allocations: 19.91 kB / 473 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1628, allocations: 4 kB / 473 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1631, allocations: 155.8 kB / 473.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.1631, allocations: 12 kB / 473.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.1631, allocations: 25.7 kB / 473.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1633, allocations: 79.81 kB / 473.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1633, allocations: 0 / 473.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1633, allocations: 0 / 473.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1633, allocations: 0 / 473.2 MB, free: 12.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004074/0.1637, allocations: 365.7 kB / 473.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1638, allocations: 8.031 kB / 473.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1638, allocations: 4 kB / 473.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1639, allocations: 171 kB / 473.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.164, allocations: 4 kB / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.164, allocations: 11.86 kB / 473.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1641, allocations: 57.61 kB / 473.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1642, allocations: 3.938 kB / 473.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1642, allocations: 0 / 473.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1642, allocations: 4 kB / 473.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.1643, allocations: 27.98 kB / 473.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.1645, allocations: 165.7 kB / 474 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1647, allocations: 58.83 kB / 474.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.1648, allocations: 24.8 kB / 474.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.165, allocations: 125 kB / 474.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1651, allocations: 34.56 kB / 474.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1651, allocations: 0 / 474.3 MB, free: 11.45 MB / 350.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.1139/0.279, allocations: 6.615 MB / 480.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.2791, allocations: 51.41 kB / 480.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2792, allocations: 101.9 kB / 481 MB, free: 4.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.2792, allocations: 29.7 kB / 481.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2793, allocations: 84.12 kB / 481.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.2794, allocations: 67.02 kB / 481.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.2795, allocations: 4 kB / 481.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2796, allocations: 322.8 kB / 481.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.2801, allocations: 239.8 kB / 481.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.2807, allocations: 243.8 kB / 482 MB, free: 3.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2819, allocations: 298.3 kB / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2819, allocations: 4 kB / 482.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002382/0.2843, allocations: 0.6416 MB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2843, allocations: 8 kB / 483 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2844, allocations: 480 / 483 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2844, allocations: 0 / 483 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.285, allocations: 115.8 kB / 483.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.285, allocations: 0 / 483.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.2854, allocations: 31.97 kB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.2855, allocations: 39.88 kB / 483.1 MB, free: 2.5 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 (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.0001444/0.2857, allocations: 126.3 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2858, allocations: 7.906 kB / 483.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.2879, allocations: 0.7594 MB / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.288, allocations: 0 / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.288, allocations: 0 / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.288, allocations: 0 / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.292, allocations: 1.243 MB / 485.3 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.292, allocations: 0 / 485.3 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.2925, allocations: 100.1 kB / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.2925, allocations: 7.984 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.2926, allocations: 32.14 kB / 485.4 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.2926, allocations: 7.938 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2926, allocations: 7.953 kB / 485.4 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.2942, allocations: 0.6121 MB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.2943, allocations: 89 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.2944, allocations: 4 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.2948, allocations: 35.97 kB / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.2948, allocations: 19.92 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.2949, allocations: 31.95 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.2949, allocations: 83.27 kB / 486.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2949, allocations: 0 / 486.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001989/0.2969, allocations: 0.6484 MB / 486.9 MB, free: 14.55 MB / 366.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.002846/0.2998, allocations: 306.9 kB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.301, allocations: 471.6 kB / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3011, allocations: 4 kB / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.3016, allocations: 220.1 kB / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3019, allocations: 10.62 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.3044, allocations: 0.6186 MB / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3048, allocations: 0.6968 MB / 489.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.3052, allocations: 83.3 kB / 489.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3052, allocations: 0 / 489.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.03303/0.3382, allocations: 15.99 MB / 0.4935 GB, free: 12.1 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.o] Error 1