Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 104.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.001667/0.001668, allocations: 195.5 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.877/1.877, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2501/0.2501, allocations: 43.52 MB / 314.1 MB, free: 0.7539 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.001747/0.001747, allocations: 67.5 kB / 382.7 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 57.79 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.002358/0.1518, allocations: 0.5963 MB / 441.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.1526, allocations: 397 kB / 441.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.1526, allocations: 4 kB / 441.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.1527, allocations: 3.938 kB / 441.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.1527, allocations: 0 / 441.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.1531, allocations: 75.8 kB / 441.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.067e-05/0.1532, allocations: 19.98 kB / 441.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.1533, allocations: 7.984 kB / 441.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.1533, allocations: 11.94 kB / 441.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.1534, allocations: 11.92 kB / 441.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1534, allocations: 4 kB / 441.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.1536, allocations: 123.9 kB / 441.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1536, allocations: 15.88 kB / 441.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.1537, allocations: 15.92 kB / 441.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1538, allocations: 60.12 kB / 441.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1538, allocations: 0 / 441.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1538, allocations: 0 / 441.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1538, allocations: 0 / 441.8 MB, free: 6.188 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.0004538/0.1543, allocations: 363.5 kB / 442.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1543, allocations: 8.031 kB / 442.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1544, allocations: 12.88 kB / 442.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.1545, allocations: 172.2 kB / 442.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1545, allocations: 4.375 kB / 442.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1545, allocations: 8.375 kB / 442.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1547, allocations: 50.23 kB / 442.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1547, allocations: 192 / 442.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1547, allocations: 7.938 kB / 442.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1547, allocations: 0 / 442.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.1548, allocations: 31.92 kB / 442.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.1549, allocations: 173.6 kB / 442.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1552, allocations: 58.56 kB / 442.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.1552, allocations: 29.12 kB / 442.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.1555, allocations: 105 kB / 442.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.1555, allocations: 34.55 kB / 442.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.1555, allocations: 4 kB / 442.8 MB, free: 4.965 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.04153/0.197, allocations: 2.572 MB / 445.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1971, allocations: 51.41 kB / 445.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.1972, allocations: 109.8 kB / 445.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1973, allocations: 29.7 kB / 445.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.1973, allocations: 84.12 kB / 445.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.1974, allocations: 63.05 kB / 445.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1975, allocations: 57.69 kB / 445.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.1976, allocations: 330.8 kB / 446.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.198, allocations: 167.9 kB / 446.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.1984, allocations: 175.9 kB / 446.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.1995, allocations: 420.1 kB / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1995, allocations: 0 / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001105/0.2006, allocations: 461.3 kB / 447.3 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.2006, allocations: 8 kB / 447.3 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2007, allocations: 0 / 447.3 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.2007, allocations: 0 / 447.3 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.2011, allocations: 71.94 kB / 447.4 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2011, allocations: 0 / 447.4 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.2014, allocations: 15.98 kB / 447.4 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.2015, allocations: 19.98 kB / 447.4 MB, free: 284 kB / 318.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.000166/0.2016, allocations: 129.7 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.2017, allocations: 12.36 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.2032, allocations: 0.5291 MB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2032, allocations: 4 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2032, allocations: 7.984 kB / 448.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2032, allocations: 0 / 448.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.2058, allocations: 0.8924 MB / 449 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2058, allocations: 4 kB / 449 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.2061, allocations: 63.94 kB / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.2061, allocations: 4 kB / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.2062, allocations: 19.98 kB / 449.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.2062, allocations: 3.938 kB / 449.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2062, allocations: 7.938 kB / 449.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000983/0.2072, allocations: 464.4 kB / 449.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.2073, allocations: 85.27 kB / 449.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.2073, allocations: 8 kB / 449.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.2075, allocations: 23.97 kB / 449.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2076, allocations: 15.98 kB / 449.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.2076, allocations: 19.98 kB / 449.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.734e-05/0.2077, allocations: 83.28 kB / 449.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2077, allocations: 0 / 449.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001095/0.2088, allocations: 312 kB / 450.1 MB, free: 13.48 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.001728/0.2106, allocations: 243 kB / 450.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.2114, allocations: 339.2 kB / 450.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.2115, allocations: 4 kB / 450.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.2118, allocations: 143.8 kB / 450.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.2121, allocations: 20.31 kB / 450.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2135, allocations: 469.9 kB / 451.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.214, allocations: 0.7006 MB / 452 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.2142, allocations: 55.39 kB / 452 MB, free: 11.44 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2142, allocations: 0 / 452 MB, free: 11.44 MB / 334.1 MB Notification: Performance of Templates: time 0.01485/0.2291, allocations: 6.528 MB / 458.6 MB, free: 4.918 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2DerivativesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.o] Error 1