Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.JSONTest.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.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008641, allocations: 102.9 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.00149/0.00149, allocations: 168.1 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.569/1.569, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2423/0.2423, allocations: 2.944 MB / 294.7 MB, free: 3.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003856, allocations: 12 kB / 356.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 51.34 MB / 407.8 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002958/0.14, allocations: 1.389 MB / 409.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.143, allocations: 1.519 MB / 410.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.1431, allocations: 0 / 410.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.1434, allocations: 31.86 kB / 410.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.1438, allocations: 95.7 kB / 410.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1442, allocations: 67.86 kB / 410.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1443, allocations: 67.78 kB / 411 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1445, allocations: 20.19 kB / 411 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1446, allocations: 35.84 kB / 411.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1448, allocations: 31.8 kB / 411.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1448, allocations: 4 kB / 411.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.1452, allocations: 183.8 kB / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.1453, allocations: 11.94 kB / 411.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.1454, allocations: 37.69 kB / 411.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1457, allocations: 163.6 kB / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1457, allocations: 4 kB / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1457, allocations: 0 / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1457, allocations: 0 / 411.5 MB, free: 12.64 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007911/0.1465, allocations: 444.7 kB / 411.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1466, allocations: 8.031 kB / 411.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.1467, allocations: 15.83 kB / 411.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.147, allocations: 198.8 kB / 412.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.147, allocations: 4 kB / 412.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.147, allocations: 8 kB / 412.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.1473, allocations: 95.38 kB / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1473, allocations: 0 / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1474, allocations: 0 / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1474, allocations: 4 kB / 412.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1476, allocations: 55.91 kB / 412.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.1481, allocations: 313.8 kB / 412.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.1484, allocations: 97.22 kB / 412.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1486, allocations: 61.75 kB / 412.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1486, allocations: 0 / 412.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.149, allocations: 142.7 kB / 412.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.149, allocations: 0 / 412.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006288/0.1496, allocations: 231.2 kB / 413.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.1497, allocations: 106.8 kB / 413.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1499, allocations: 145.7 kB / 413.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1499, allocations: 33.7 kB / 413.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.15, allocations: 84.14 kB / 413.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.1501, allocations: 31.55 kB / 413.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.1501, allocations: 8 kB / 413.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1503, allocations: 318.8 kB / 413.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1504, allocations: 43.97 kB / 413.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1505, allocations: 53.64 kB / 413.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1507, allocations: 69.69 kB / 414 MB, free: 9.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1507, allocations: 4 kB / 414 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003894/0.1511, allocations: 191.1 kB / 414.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.1511, allocations: 37.7 kB / 414.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1512, allocations: 3.984 kB / 414.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1512, allocations: 4 kB / 414.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.1513, allocations: 11.94 kB / 414.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1513, allocations: 0 / 414.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-05/0.1514, allocations: 20.22 kB / 414.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1514, allocations: 7.953 kB / 414.3 MB, free: 9.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000184/0.1516, allocations: 161.2 kB / 414.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.1517, allocations: 15.89 kB / 414.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.1517, allocations: 8.375 kB / 414.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1517, allocations: 4 kB / 414.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1517, allocations: 0 / 414.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1517, allocations: 0 / 414.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.152, allocations: 201.5 kB / 414.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.152, allocations: 4 kB / 414.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.1521, allocations: 11.98 kB / 414.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1521, allocations: 0 / 414.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.1521, allocations: 8 kB / 414.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1521, allocations: 3.938 kB / 414.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1522, allocations: 0 / 414.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.1526, allocations: 251.4 kB / 414.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.1527, allocations: 89 kB / 415 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.1528, allocations: 8 kB / 415 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.1529, allocations: 4.062 kB / 415 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.1529, allocations: 11.98 kB / 415 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.153, allocations: 4 kB / 415 MB, free: 8.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1531, allocations: 113.9 kB / 415.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1531, allocations: 4 kB / 415.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.1536, allocations: 75.98 kB / 415.2 MB, free: 8.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001193/0.1548, allocations: 398.7 kB / 415.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.1552, allocations: 191.3 kB / 415.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1553, allocations: 0 / 415.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.1555, allocations: 139.3 kB / 415.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1558, allocations: 23.94 kB / 416 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.1565, allocations: 253.7 kB / 416.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.157, allocations: 0.7004 MB / 416.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.157, allocations: 11.44 kB / 416.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.157, allocations: 0 / 416.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of Templates: time 0.006488/0.1635, allocations: 2.598 MB / 419.5 MB, free: 4.199 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.JSONTest.makefile make -j1 -f ExternData_ExternData.Examples.JSONTest.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.JSONTestCalcHelperMain.o OMCppExternData_ExternData.Examples.JSONTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.JSONTestCalcHelperMain.o] Error 1