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.001014/0.001014, allocations: 92.62 kB / 16.67 MB, free: 6.105 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.001237/0.001238, allocations: 173.3 kB / 17.57 MB, free: 5.824 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.026/2.026, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2732/0.2732, allocations: 43.58 MB / 315.6 MB, free: 424 kB / 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.0005696/0.0005697, allocations: 18.55 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1483, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.000776/0.1491, allocations: 272.5 kB / 444.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008127/0.1499, allocations: 424.4 kB / 444.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.1499, allocations: 0 / 444.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.15, allocations: 0 / 444.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.15, allocations: 3.938 kB / 444.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1504, allocations: 95.78 kB / 444.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.1504, allocations: 27.92 kB / 444.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.1505, allocations: 7.938 kB / 444.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1505, allocations: 15.91 kB / 444.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.1506, allocations: 19.92 kB / 444.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1506, allocations: 0 / 444.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.1509, allocations: 163.8 kB / 445.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1509, allocations: 4 kB / 445.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.1509, allocations: 41.56 kB / 445.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1511, allocations: 83.88 kB / 445.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1511, allocations: 0 / 445.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1511, allocations: 0 / 445.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1511, allocations: 4 kB / 445.2 MB, free: 4.012 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.0003521/0.1515, allocations: 351.5 kB / 445.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1515, allocations: 12.02 kB / 445.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1515, allocations: 12.84 kB / 445.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.108e-05/0.1516, allocations: 164.4 kB / 445.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1517, allocations: 384 / 445.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1517, allocations: 8.312 kB / 445.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1518, allocations: 54.23 kB / 445.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1518, allocations: 7.844 kB / 445.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1519, allocations: 7.938 kB / 445.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1519, allocations: 7.938 kB / 445.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/0.1519, allocations: 27.98 kB / 445.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1521, allocations: 165.6 kB / 446 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1523, allocations: 58.55 kB / 446.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.56e-05/0.1524, allocations: 28.84 kB / 446.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.1526, allocations: 113.1 kB / 446.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1527, allocations: 34.55 kB / 446.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/0.1527, allocations: 3.984 kB / 446.3 MB, free: 2.797 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.1454/0.2981, allocations: 6.619 MB / 452.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.2982, allocations: 55.41 kB / 452.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2983, allocations: 101.8 kB / 453 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.2983, allocations: 29.64 kB / 453.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.2984, allocations: 84.14 kB / 453.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.2985, allocations: 71 kB / 453.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.2986, allocations: 21.7 kB / 453.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2987, allocations: 322.8 kB / 453.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/0.2993, allocations: 243.8 kB / 453.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.2999, allocations: 247.8 kB / 454 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.302, allocations: 0.5915 MB / 454.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.302, allocations: 0 / 454.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001874/0.3039, allocations: 0.6374 MB / 455.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.304, allocations: 8 kB / 455.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.304, allocations: 0 / 455.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.304, allocations: 0 / 455.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.3047, allocations: 119.8 kB / 455.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3047, allocations: 4 kB / 455.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.3052, allocations: 31.95 kB / 455.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.3053, allocations: 40.41 kB / 455.5 MB, free: 9.5 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.0001841/0.3055, allocations: 121.7 kB / 455.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.3055, allocations: 7.906 kB / 455.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.3078, allocations: 0.7633 MB / 456.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3078, allocations: 0 / 456.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3078, allocations: 3.938 kB / 456.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3078, allocations: 0 / 456.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.3119, allocations: 1.227 MB / 457.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.312, allocations: 0 / 457.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.3125, allocations: 108 kB / 457.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3125, allocations: 4 kB / 457.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.3126, allocations: 31.95 kB / 457.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3126, allocations: 0 / 457.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.3126, allocations: 4 kB / 457.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3144, allocations: 0.6133 MB / 458.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.3144, allocations: 85.02 kB / 458.4 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.3145, allocations: 8 kB / 458.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.3149, allocations: 35.95 kB / 458.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.315, allocations: 15.92 kB / 458.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.315, allocations: 31.95 kB / 458.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.3151, allocations: 87.22 kB / 458.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3151, allocations: 0 / 458.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002065/0.3172, allocations: 0.6483 MB / 459.3 MB, free: 5.566 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.00297/0.3201, allocations: 306.9 kB / 459.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.3215, allocations: 486.9 kB / 460 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3215, allocations: 0 / 460 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.322, allocations: 220.1 kB / 460.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.3224, allocations: 11.59 kB / 460.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3249, allocations: 0.6298 MB / 460.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3253, allocations: 0.6929 MB / 461.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.3256, allocations: 95.28 kB / 461.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3256, allocations: 0 / 461.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of Templates: time 0.03352/0.3592, allocations: 15.98 MB / 477.7 MB, free: 3.059 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