Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 91.23 kB / 16.33 MB, free: 5.938 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.001295/0.001295, allocations: 177.4 kB / 17.22 MB, free: 5.863 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.678/1.678, allocations: 205.4 MB / 223.4 MB, free: 13.11 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.2222/0.2222, allocations: 43.56 MB / 315.2 MB, free: 0.6211 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.0005394/0.0005395, allocations: 20.09 kB / 384.5 MB, free: 57.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 58.86 MB / 443.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006004/0.1369, allocations: 212.7 kB / 443.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1393, allocations: 1.937 MB / 445.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.1394, allocations: 0 / 445.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.072e-05/0.1394, allocations: 0 / 445.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.517e-05/0.1394, allocations: 0 / 445.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1404, allocations: 287.3 kB / 445.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.682e-05/0.1405, allocations: 4 kB / 445.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.1405, allocations: 0 / 445.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.1406, allocations: 0 / 445.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/0.1439, allocations: 2.427 MB / 448.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.144, allocations: 0 / 448.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.144, allocations: 11.94 kB / 448.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-06/0.1441, allocations: 0 / 448.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.1441, allocations: 25.7 kB / 448.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.639e-05/0.1442, allocations: 7.984 kB / 448.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1442, allocations: 0 / 448.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1442, allocations: 0 / 448.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1442, allocations: 0 / 448.3 MB, free: 0.8984 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002237/0.1444, allocations: 315.3 kB / 448.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1445, allocations: 8.031 kB / 448.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.1447, allocations: 91.27 kB / 448.7 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1448, allocations: 238.3 kB / 448.9 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.1448, allocations: 150.6 kB / 449.1 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.1449, allocations: 154.6 kB / 449.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.145, allocations: 116.9 kB / 449.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.1451, allocations: 75.28 kB / 449.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.068e-05/0.1452, allocations: 150.6 kB / 449.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.1452, allocations: 154.6 kB / 449.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.075e-05/0.1453, allocations: 150.6 kB / 449.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.1456, allocations: 446 kB / 450.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1457, allocations: 177.1 kB / 450.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.1458, allocations: 80.14 kB / 450.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1458, allocations: 75.28 kB / 450.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.334e-05/0.1459, allocations: 113.8 kB / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.1459, allocations: 0 / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.436e-05/0.146, allocations: 41.64 kB / 450.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1461, allocations: 178.1 kB / 451 MB, free: 14.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.1462, allocations: 89.86 kB / 451 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1462, allocations: 25.7 kB / 451.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.1463, allocations: 84.08 kB / 451.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.1463, allocations: 8.125 kB / 451.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.1463, allocations: 0 / 451.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1464, allocations: 310.8 kB / 451.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-06/0.1464, allocations: 4 kB / 451.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.1465, allocations: 9.719 kB / 451.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.1465, allocations: 79.28 kB / 451.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-05/0.1466, allocations: 79.27 kB / 451.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.8e-05/0.1466, allocations: 29.73 kB / 451.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.1467, allocations: 83.28 kB / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/0.1467, allocations: 79.22 kB / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.7e-05/0.1468, allocations: 154.5 kB / 452 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.1468, allocations: 79.22 kB / 452 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.707e-05/0.1469, allocations: 154.6 kB / 452.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.147, allocations: 91.27 kB / 452.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.1471, allocations: 83.2 kB / 452.4 MB, free: 12.57 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 (0): * Single equations (assignments): 0 * 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.0001456/0.1472, allocations: 264.4 kB / 452.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.1473, allocations: 101 kB / 452.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.1474, allocations: 112 kB / 452.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-05/0.1474, allocations: 188.2 kB / 453 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-05/0.1475, allocations: 184.2 kB / 453.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.628e-05/0.1476, allocations: 180.2 kB / 453.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.1479, allocations: 397.2 kB / 453.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.844e-05/0.1479, allocations: 108.9 kB / 453.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.148, allocations: 105 kB / 454 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.221e-05/0.1481, allocations: 180.3 kB / 454.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.1481, allocations: 184.2 kB / 454.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.447e-05/0.1482, allocations: 176.3 kB / 454.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.733e-05/0.1483, allocations: 184.2 kB / 454.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1485, allocations: 311.8 kB / 455 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1486, allocations: 182.1 kB / 455.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.1487, allocations: 180.3 kB / 455.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.1488, allocations: 108.9 kB / 455.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.1488, allocations: 180.3 kB / 455.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.1489, allocations: 112.9 kB / 455.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.149, allocations: 79.28 kB / 455.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.149, allocations: 0 / 455.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1493, allocations: 0 / 455.8 MB, free: 8.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001305/0.1494, allocations: 166.5 kB / 456 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.144e-05/0.1494, allocations: 4 kB / 456 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1494, allocations: 0 / 456 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.1495, allocations: 0.5 kB / 456 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.1499, allocations: 0.5303 MB / 456.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.1501, allocations: 171.7 kB / 456.7 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1505, allocations: 0.6731 MB / 457.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1505, allocations: 7.438 kB / 457.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1505, allocations: 0 / 457.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of Templates: time 0.001841/0.1523, allocations: 367.7 kB / 457.7 MB, free: 6.926 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculatorCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.o] Error 1