Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009992, 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.492/1.492, allocations: 223.3 MB / 239.7 MB, free: 5.629 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.00151/0.00151, allocations: 167.7 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03347/0.03347, allocations: 8.782 MB / 350.8 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 10 kB / 413.8 MB, free: 43.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002607/0.1215, allocations: 1.808 MB / 468.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1239, allocations: 1.452 MB / 469.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1241, allocations: 4 kB / 469.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.1245, allocations: 95.67 kB / 469.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1249, allocations: 99.55 kB / 469.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.1253, allocations: 101.7 kB / 469.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.1256, allocations: 195.2 kB / 470.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1258, allocations: 41.64 kB / 470.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1259, allocations: 79.69 kB / 470.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.1262, allocations: 95.59 kB / 470.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1262, allocations: 8 kB / 470.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1263, allocations: 59.97 kB / 470.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.1264, allocations: 35.84 kB / 470.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1265, allocations: 57.58 kB / 470.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1268, allocations: 187.8 kB / 470.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1268, allocations: 7.938 kB / 470.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1268, allocations: 0 / 470.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1268, allocations: 3.938 kB / 470.7 MB, free: 9.23 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006959/0.1275, allocations: 488.8 kB / 471.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1275, allocations: 12.03 kB / 471.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1276, allocations: 23.67 kB / 471.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1279, allocations: 247.8 kB / 471.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1279, allocations: 8.234 kB / 471.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.128, allocations: 12 kB / 471.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.1283, allocations: 137.5 kB / 471.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.1283, allocations: 0 / 471.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1283, allocations: 4 kB / 471.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1283, allocations: 4 kB / 471.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1285, allocations: 80.55 kB / 471.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.1293, allocations: 0.5495 MB / 472.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1297, allocations: 110.7 kB / 472.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.1298, allocations: 36.84 kB / 472.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1298, allocations: 4 kB / 472.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.13, allocations: 93.09 kB / 472.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.13, allocations: 11.88 kB / 472.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003494/0.1304, allocations: 141.5 kB / 472.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.1305, allocations: 110.7 kB / 472.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1308, allocations: 272.9 kB / 473 MB, free: 6.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1308, allocations: 29.7 kB / 473 MB, free: 6.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.1309, allocations: 143.7 kB / 473.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.131, allocations: 31.92 kB / 473.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.131, allocations: 8 kB / 473.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1311, allocations: 338.8 kB / 473.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.1312, allocations: 27.98 kB / 473.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.1313, allocations: 69.08 kB / 473.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.1314, allocations: 28 kB / 473.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1314, allocations: 4.031 kB / 473.6 MB, free: 5.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002326/0.1316, allocations: 149.2 kB / 473.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1316, allocations: 8 kB / 473.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1317, allocations: 3.984 kB / 473.8 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1317, allocations: 0 / 473.8 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.1318, allocations: 28 kB / 473.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.1318, allocations: 3.984 kB / 473.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.1319, allocations: 23.89 kB / 473.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1319, allocations: 8 kB / 473.9 MB, free: 5.758 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.132, allocations: 137.8 kB / 474 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1321, allocations: 15.81 kB / 474 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.1321, allocations: 25.7 kB / 474 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1321, allocations: 0 / 474 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1322, allocations: 0 / 474 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1322, allocations: 0 / 474 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.1324, allocations: 249.4 kB / 474.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1324, allocations: 0 / 474.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.1325, allocations: 19.98 kB / 474.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1325, allocations: 0 / 474.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1325, allocations: 4 kB / 474.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1325, allocations: 4 kB / 474.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1325, allocations: 3.938 kB / 474.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1328, allocations: 180.8 kB / 474.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.1329, allocations: 100.8 kB / 474.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.133, allocations: 4.062 kB / 474.6 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.133, allocations: 11.98 kB / 474.6 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1331, allocations: 4 kB / 474.6 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1331, allocations: 7.984 kB / 474.6 MB, free: 4.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1333, allocations: 200.5 kB / 474.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1333, allocations: 0 / 474.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1336, allocations: 47.92 kB / 474.9 MB, free: 4.668 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001056/0.1346, allocations: 454.8 kB / 475.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1349, allocations: 79.91 kB / 475.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1349, allocations: 0 / 475.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.135, allocations: 35.92 kB / 475.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1353, allocations: 40.55 kB / 475.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.1361, allocations: 0.531 MB / 476 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1364, allocations: 0.7321 MB / 476.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.1365, allocations: 19.44 kB / 476.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1365, allocations: 0 / 476.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of Templates: time 0.004978/0.1415, allocations: 2.784 MB / 479.5 MB, free: 136 kB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHanserModelica_HanserModelica.Electrical.TablesFromFileCalcHelperMain.o OMCppHanserModelica_HanserModelica.Electrical.TablesFromFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Electrical.TablesFromFileCalcHelperMain.o] Error 1