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.001615/0.001615, allocations: 107.3 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.001941/0.001942, allocations: 193.1 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 1.887/1.887, 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.2581/0.2581, allocations: 43.52 MB / 314.1 MB, free: 0.75 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.001497/0.001497, allocations: 68.38 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1565, allocations: 57.78 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001804/0.1584, allocations: 0.608 MB / 441.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.1591, allocations: 433.1 kB / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.1591, allocations: 0 / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.1592, allocations: 0 / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.282e-05/0.1592, allocations: 0 / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1596, allocations: 107.8 kB / 441.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.1596, allocations: 23.92 kB / 441.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.1597, allocations: 8 kB / 441.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.1597, allocations: 7.938 kB / 441.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.1598, allocations: 19.92 kB / 441.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1598, allocations: 3.938 kB / 441.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.16, allocations: 155.8 kB / 441.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1601, allocations: 11.92 kB / 441.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.1601, allocations: 19.92 kB / 441.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1602, allocations: 80.11 kB / 441.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1602, allocations: 0 / 441.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1603, allocations: 3.938 kB / 441.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1603, allocations: 0 / 441.9 MB, free: 6.055 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.0003995/0.1607, allocations: 375.3 kB / 442.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1607, allocations: 8.031 kB / 442.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1608, allocations: 4.938 kB / 442.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.1609, allocations: 176.2 kB / 442.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1609, allocations: 8.359 kB / 442.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.1609, allocations: 8.375 kB / 442.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1611, allocations: 50.19 kB / 442.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1611, allocations: 3.938 kB / 442.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1611, allocations: 4 kB / 442.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1611, allocations: 4 kB / 442.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/0.1612, allocations: 27.97 kB / 442.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1613, allocations: 161.7 kB / 442.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1616, allocations: 66.58 kB / 442.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.1616, allocations: 24.86 kB / 442.8 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/0.1619, allocations: 105.1 kB / 442.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.1619, allocations: 30.56 kB / 443 MB, free: 4.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.1619, allocations: 0 / 443 MB, free: 4.84 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.1275/0.2895, allocations: 6.388 MB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.2896, allocations: 55.41 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.2898, allocations: 101.9 kB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.2898, allocations: 29.7 kB / 449.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.2899, allocations: 80.14 kB / 449.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.29, allocations: 71.02 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.2902, allocations: 89.59 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.2905, allocations: 322.8 kB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/0.2911, allocations: 231.8 kB / 450.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/0.2917, allocations: 223.8 kB / 450.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.2938, allocations: 0.5671 MB / 451.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2938, allocations: 0 / 451.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001829/0.2957, allocations: 0.6026 MB / 451.7 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.2957, allocations: 11.59 kB / 451.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2957, allocations: 0 / 451.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2958, allocations: 0 / 451.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.2964, allocations: 107.8 kB / 451.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2965, allocations: 4 kB / 451.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.297, allocations: 27.95 kB / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.297, allocations: 31.94 kB / 451.9 MB, free: 11.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.2972, allocations: 125.7 kB / 452 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.2973, allocations: 11.91 kB / 452 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.2995, allocations: 0.7279 MB / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2995, allocations: 0 / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2996, allocations: 0 / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2996, allocations: 0 / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.3038, allocations: 1.172 MB / 453.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3038, allocations: 0 / 453.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.3043, allocations: 103.8 kB / 454 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3044, allocations: 7.922 kB / 454 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.3044, allocations: 31.95 kB / 454.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3044, allocations: 0 / 454.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3044, allocations: 4 kB / 454.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.3062, allocations: 0.5836 MB / 454.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3062, allocations: 85.02 kB / 454.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3063, allocations: 8 kB / 454.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.3067, allocations: 23.95 kB / 454.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.3068, allocations: 19.98 kB / 454.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.3068, allocations: 27.95 kB / 454.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.3069, allocations: 83.28 kB / 454.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3069, allocations: 0 / 454.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002086/0.309, allocations: 0.6486 MB / 455.5 MB, free: 8.031 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 (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.003218/0.3122, allocations: 298.9 kB / 455.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.3138, allocations: 447.6 kB / 456.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3138, allocations: 3.938 kB / 456.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005446/0.3144, allocations: 200 kB / 456.5 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3147, allocations: 23.61 kB / 456.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.3175, allocations: 0.5679 MB / 457.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.318, allocations: 0.6968 MB / 457.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.3183, allocations: 91.28 kB / 457.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3183, allocations: 0 / 457.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of Templates: time 0.03142/0.3497, allocations: 15.95 MB / 473.8 MB, free: 5.668 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++ -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.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