Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009986/0.0009987, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 239.7 MB, free: 5.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 180.5 kB / 290.9 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03391/0.03391, allocations: 8.782 MB / 350.8 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 10.91 kB / 413.8 MB, free: 42.94 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 52.56 MB / 466.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002136/0.1304, allocations: 1.656 MB / 468 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003616/0.1308, allocations: 159.5 kB / 468.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.1309, allocations: 4 kB / 468.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.131, allocations: 19.8 kB / 468.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1312, allocations: 67.5 kB / 468.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1313, allocations: 23.92 kB / 468.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.1318, allocations: 465.9 kB / 468.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1322, allocations: 196.7 kB / 468.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1323, allocations: 119.6 kB / 469.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1326, allocations: 143.4 kB / 469.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1326, allocations: 20 kB / 469.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.688e-05/0.1327, allocations: 16 kB / 469.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.1328, allocations: 59.77 kB / 469.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.1328, allocations: 97.52 kB / 469.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.1333, allocations: 451.1 kB / 469.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1333, allocations: 0 / 469.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1333, allocations: 0 / 469.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1333, allocations: 4 kB / 469.8 MB, free: 10.05 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009998/0.1343, allocations: 0.5945 MB / 470.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1343, allocations: 8.031 kB / 470.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.1344, allocations: 39.58 kB / 470.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.1348, allocations: 302.5 kB / 470.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.1349, allocations: 20.66 kB / 470.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.135, allocations: 32 kB / 470.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.1356, allocations: 386 kB / 471.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1356, allocations: 0 / 471.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1357, allocations: 12 kB / 471.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.1357, allocations: 20.64 kB / 471.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.1363, allocations: 366.3 kB / 471.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.138, allocations: 1.421 MB / 473 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.1387, allocations: 390.4 kB / 473.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.139, allocations: 196.7 kB / 473.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.139, allocations: 4 kB / 473.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.139, allocations: 34.56 kB / 473.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.139, allocations: 0 / 473.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001602/0.1406, allocations: 0.8613 MB / 474.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1407, allocations: 59.39 kB / 474.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1409, allocations: 219.4 kB / 474.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.141, allocations: 29.7 kB / 474.8 MB, free: 4.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1411, allocations: 164.3 kB / 474.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.1411, allocations: 79.23 kB / 475 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.1412, allocations: 7.938 kB / 475 MB, free: 4.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1413, allocations: 338.8 kB / 475.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1416, allocations: 115.9 kB / 475.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.1417, allocations: 116.8 kB / 475.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.142, allocations: 148.3 kB / 475.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.142, allocations: 3.953 kB / 475.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000682/0.1427, allocations: 443.6 kB / 476.2 MB, free: 3.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1427, allocations: 4 kB / 476.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1427, allocations: 0 / 476.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.1431, allocations: 138.4 kB / 476.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1433, allocations: 43.97 kB / 476.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.1474, allocations: 4.696 MB / 481 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.1476, allocations: 43.88 kB / 481.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1476, allocations: 8 kB / 481.1 MB, free: 14.01 MB / 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.1479, allocations: 193.8 kB / 481.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.1479, allocations: 19.81 kB / 481.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.148, allocations: 41.77 kB / 481.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.148, allocations: 0 / 481.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.148, allocations: 4 kB / 481.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1481, allocations: 3.984 kB / 481.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.1486, allocations: 429.2 kB / 481.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1486, allocations: 0 / 481.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.1488, allocations: 39.97 kB / 481.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.1491, allocations: 130.5 kB / 481.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.1491, allocations: 8 kB / 481.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.1529, allocations: 4.699 MB / 486.6 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1529, allocations: 4.125 kB / 486.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.1539, allocations: 0.6712 MB / 487.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.154, allocations: 100.9 kB / 487.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.154, allocations: 8 kB / 487.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1541, allocations: 23.92 kB / 487.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.1542, allocations: 19.97 kB / 487.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1542, allocations: 8 kB / 487.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1544, allocations: 157.2 kB / 487.6 MB, free: 6.957 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1544, allocations: 4 kB / 487.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.155, allocations: 103.8 kB / 487.7 MB, free: 6.852 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * 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 (15): * Single equations (assignments): 12 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.1551, allocations: 95.25 kB / 487.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009304/0.1561, allocations: 0.6521 MB / 488.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1561, allocations: 0 / 488.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.1567, allocations: 0.5311 MB / 489 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1571, allocations: 50.16 kB / 489.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1587, allocations: 1.02 MB / 490.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1591, allocations: 0.8416 MB / 490.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.1592, allocations: 15.44 kB / 490.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1592, allocations: 4 kB / 490.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of Templates: time 0.01079/0.17, allocations: 8.819 MB / 499.8 MB, free: 10.68 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.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 OMCppHanserModelica_HanserModelica.Thermal.TestLongRodCalcHelperMain.o OMCppHanserModelica_HanserModelica.Thermal.TestLongRodCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Thermal.TestLongRodCalcHelperMain.o] Error 1