Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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 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(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 176.7 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2393/0.2393, allocations: 2.942 MB / 294.7 MB, free: 3.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 356.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 51.35 MB / 407.8 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002228/0.1369, allocations: 1.256 MB / 409.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1385, allocations: 0.9491 MB / 410 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.1386, allocations: 0 / 410 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.1388, allocations: 27.86 kB / 410.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.1391, allocations: 87.61 kB / 410.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.178e-05/0.1392, allocations: 8 kB / 410.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.1392, allocations: 27.91 kB / 410.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.1394, allocations: 7.984 kB / 410.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.1394, allocations: 15.94 kB / 410.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1396, allocations: 15.92 kB / 410.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1396, allocations: 0 / 410.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.1398, allocations: 99.84 kB / 410.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.1398, allocations: 12 kB / 410.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.1399, allocations: 29.64 kB / 410.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1401, allocations: 92.09 kB / 410.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1401, allocations: 0 / 410.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1401, allocations: 0 / 410.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1401, allocations: 0 / 410.5 MB, free: 13.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005484/0.1406, allocations: 371.2 kB / 410.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1407, allocations: 8.031 kB / 410.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.1407, allocations: 3.906 kB / 410.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.141, allocations: 191 kB / 411 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.141, allocations: 3.953 kB / 411 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.141, allocations: 0 / 411 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1411, allocations: 53.69 kB / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1411, allocations: 0 / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1412, allocations: 0 / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1412, allocations: 7.984 kB / 411.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.1413, allocations: 31.92 kB / 411.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1417, allocations: 260.8 kB / 411.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1419, allocations: 54.56 kB / 411.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.142, allocations: 24.92 kB / 411.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.142, allocations: 7.875 kB / 411.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.142, allocations: 30.56 kB / 411.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.142, allocations: 0 / 411.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002238/0.1422, allocations: 69.67 kB / 411.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1423, allocations: 55.41 kB / 411.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1424, allocations: 117.8 kB / 411.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1425, allocations: 25.7 kB / 411.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.1425, allocations: 84.14 kB / 411.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.1425, allocations: 15.8 kB / 411.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1426, allocations: 0 / 411.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1427, allocations: 318.8 kB / 412.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.1427, allocations: 15.92 kB / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.1428, allocations: 16 kB / 412.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.1428, allocations: 11.98 kB / 412.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1428, allocations: 0 / 412.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/0.143, allocations: 57.69 kB / 412.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.143, allocations: 8 kB / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.143, allocations: 0 / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.143, allocations: 0 / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.69e-05/0.1431, allocations: 15.98 kB / 412.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1431, allocations: 0 / 412.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.1431, allocations: 3.938 kB / 412.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1431, allocations: 4 kB / 412.3 MB, free: 11.66 MB / 350.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 (3): * Single equations (assignments): 3 * 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 8.883e-05/0.1432, allocations: 113.7 kB / 412.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1433, allocations: 11.91 kB / 412.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.1433, allocations: 3.906 kB / 412.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1433, allocations: 0 / 412.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1433, allocations: 4 kB / 412.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1433, allocations: 3.984 kB / 412.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1435, allocations: 169.6 kB / 412.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1435, allocations: 4 kB / 412.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1436, allocations: 4 kB / 412.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1436, allocations: 384 / 412.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1436, allocations: 3.938 kB / 412.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1436, allocations: 0 / 412.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1436, allocations: 4 kB / 412.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1438, allocations: 167.3 kB / 412.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.1439, allocations: 81.11 kB / 412.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1439, allocations: 0 / 412.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.144, allocations: 3.984 kB / 412.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.144, allocations: 7.938 kB / 412.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.144, allocations: 0 / 412.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.097e-05/0.1441, allocations: 99.27 kB / 412.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 412.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1444, allocations: 36 kB / 413 MB, free: 10.86 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0007805/0.1452, allocations: 321.6 kB / 413.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1453, allocations: 27.98 kB / 413.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1453, allocations: 0 / 413.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/0.1454, allocations: 19.98 kB / 413.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1457, allocations: 15.83 kB / 413.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.1461, allocations: 176.3 kB / 413.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1466, allocations: 0.6809 MB / 414.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.1466, allocations: 7.438 kB / 414.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1466, allocations: 4 kB / 414.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Templates: time 0.003561/0.1502, allocations: 1.605 MB / 415.8 MB, free: 8.023 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.INITest.makefile make -j1 -f ExternData_ExternData.Examples.INITest.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternData_ExternData.Examples.INITestCalcHelperMain.o OMCppExternData_ExternData.Examples.INITestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.INITestCalcHelperMain.o] Error 1