Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 96.14 kB / 15.87 MB, free: 16 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.001336/0.001336, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007649/0.007649, allocations: 1.238 MB / 291.8 MB, free: 1.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 55.91 kB / 352.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 49.71 MB / 402 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.005274/0.1371, allocations: 3.011 MB / 405 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.1402, allocations: 1.409 MB / 406.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.1407, allocations: 4 kB / 406.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.1415, allocations: 139.5 kB / 406.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.1421, allocations: 95.36 kB / 406.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.143, allocations: 231.5 kB / 406.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007232/0.1438, allocations: 446.3 kB / 407.3 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.1441, allocations: 116 kB / 407.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.1445, allocations: 163.2 kB / 407.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.1448, allocations: 187.1 kB / 407.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.1449, allocations: 24 kB / 407.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.1454, allocations: 215.6 kB / 408 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1455, allocations: 79.67 kB / 408.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.1458, allocations: 179 kB / 408.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.1464, allocations: 399 kB / 408.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1464, allocations: 0 / 408.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1464, allocations: 3.938 kB / 408.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.1464, allocations: 0 / 408.6 MB, free: 14.77 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001661/0.1481, allocations: 0.7053 MB / 409.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1481, allocations: 8.031 kB / 409.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1483, allocations: 40.47 kB / 409.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.1488, allocations: 323.9 kB / 409.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.1489, allocations: 25.03 kB / 409.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.1489, allocations: 28.38 kB / 409.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007149/0.1497, allocations: 310.3 kB / 410.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1497, allocations: 0 / 410.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.1497, allocations: 12 kB / 410.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.1498, allocations: 8 kB / 410.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.1505, allocations: 274.4 kB / 410.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.1526, allocations: 1.174 MB / 411.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.1531, allocations: 197 kB / 411.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.1533, allocations: 87.05 kB / 411.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.1534, allocations: 15.92 kB / 411.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1534, allocations: 38.55 kB / 411.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.1534, allocations: 0 / 411.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00317/0.1566, allocations: 0.901 MB / 412.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1567, allocations: 55.64 kB / 412.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.1571, allocations: 312.5 kB / 413.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1571, allocations: 37.7 kB / 413.2 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1573, allocations: 235.5 kB / 413.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.1574, allocations: 98.64 kB / 413.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.1575, allocations: 69.98 kB / 413.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1577, allocations: 338.8 kB / 413.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.1581, allocations: 120.7 kB / 414 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.1585, allocations: 220.8 kB / 414.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.1592, allocations: 357.2 kB / 414.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1592, allocations: 4 kB / 414.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001443/0.1607, allocations: 0.6079 MB / 415.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.1607, allocations: 4 kB / 415.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1608, allocations: 4 kB / 415.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.1627, allocations: 0.8157 MB / 416 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.163, allocations: 71.83 kB / 416.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009026/0.164, allocations: 1.179 MB / 417.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1643, allocations: 23.98 kB / 417.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.1643, allocations: 12 kB / 417.3 MB, free: 5.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.1646, allocations: 169.8 kB / 417.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.1646, allocations: 31.62 kB / 417.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.1659, allocations: 0.5288 MB / 418 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1659, allocations: 4 kB / 418 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.166, allocations: 3.938 kB / 418 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.166, allocations: 0 / 418 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.1665, allocations: 385.3 kB / 418.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1665, allocations: 0 / 418.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1667, allocations: 47.89 kB / 418.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.1686, allocations: 0.8099 MB / 419.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1686, allocations: 4 kB / 419.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008818/0.1695, allocations: 1.183 MB / 420.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1695, allocations: 0 / 420.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1708, allocations: 0.5985 MB / 421 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1709, allocations: 108.7 kB / 421.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.171, allocations: 4 kB / 421.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.1712, allocations: 19.98 kB / 421.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.1713, allocations: 27.89 kB / 421.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1713, allocations: 4 kB / 421.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.1716, allocations: 223 kB / 421.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1716, allocations: 0 / 421.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.1721, allocations: 100 kB / 421.5 MB, free: 1.316 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003047/0.1724, allocations: 135.1 kB / 421.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009218/0.1734, allocations: 319.8 kB / 422 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1734, allocations: 0.8125 kB / 422 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004749/0.1739, allocations: 175.8 kB / 422.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1743, allocations: 43.92 kB / 422.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2222/0.3965, allocations: 0.7929 MB / 423 MB, free: 53.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.397, allocations: 0.7924 MB / 423.8 MB, free: 52.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3972, allocations: 25.89 kB / 423.8 MB, free: 52.47 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3972, allocations: 1 kB / 423.8 MB, free: 52.47 MB / 350.1 MB Notification: Performance of Templates: time 0.01115/0.4083, allocations: 7.002 MB / 430.8 MB, free: 52.03 MB / 350.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppFluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgapCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgapCalcHelperMain.o] Error 1