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.001133/0.001133, 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.001036/0.001035, allocations: 176.2 kB / 16.58 MB, free: 6.863 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.492/1.492, allocations: 223.2 MB / 240.6 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01039/0.01039, allocations: 1.218 MB / 292.9 MB, free: 1.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 8 kB / 354.1 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3596, allocations: 50.68 MB / 404.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003908/0.3636, allocations: 2.531 MB / 407.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.3658, allocations: 1.3 MB / 408.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.366, allocations: 5.594 kB / 408.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.3665, allocations: 111 kB / 408.7 MB, free: 8.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.3668, allocations: 100.2 kB / 408.8 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.3674, allocations: 182 kB / 409 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.3679, allocations: 414.6 kB / 409.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3681, allocations: 107.5 kB / 409.5 MB, free: 7.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.3683, allocations: 143 kB / 409.6 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3686, allocations: 172.1 kB / 409.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.3686, allocations: 24.05 kB / 409.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.3689, allocations: 134.9 kB / 409.9 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.369, allocations: 82.02 kB / 410 MB, free: 7.453 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.3691, allocations: 90.55 kB / 410.1 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.3697, allocations: 359.9 kB / 410.5 MB, free: 7.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3697, allocations: 4 kB / 410.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3697, allocations: 0 / 410.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3697, allocations: 1.406 kB / 410.5 MB, free: 7.305 MB / 286.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.001121/0.3709, allocations: 0.6573 MB / 411.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3709, allocations: 9.406 kB / 411.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.371, allocations: 37.97 kB / 411.2 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3714, allocations: 313.7 kB / 411.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.3714, allocations: 29.28 kB / 411.5 MB, free: 6.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.3715, allocations: 33.88 kB / 411.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.3721, allocations: 305.3 kB / 411.8 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3721, allocations: 1.219 kB / 411.8 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3722, allocations: 18.2 kB / 411.9 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3722, allocations: 7.688 kB / 411.9 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.3729, allocations: 289.9 kB / 412.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.3747, allocations: 1.183 MB / 413.3 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.3751, allocations: 202.1 kB / 413.5 MB, free: 5.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.3753, allocations: 87.23 kB / 413.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.899e-05/0.3754, allocations: 13.84 kB / 413.6 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3754, allocations: 44.69 kB / 413.7 MB, free: 5.266 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3754, allocations: 0 / 413.7 MB, free: 5.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.002939/0.3784, allocations: 0.975 MB / 414.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3784, allocations: 56.52 kB / 414.7 MB, free: 4.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.3788, allocations: 316.5 kB / 415 MB, free: 4.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3788, allocations: 31.08 kB / 415 MB, free: 4.699 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.379, allocations: 235.9 kB / 415.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.379, allocations: 89.64 kB / 415.4 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.3791, allocations: 9.375 kB / 415.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.3792, allocations: 341.2 kB / 415.7 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.3795, allocations: 130.2 kB / 415.8 MB, free: 4.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.3799, allocations: 224 kB / 416.1 MB, free: 3.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.3803, allocations: 161.4 kB / 416.2 MB, free: 3.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3803, allocations: 0 / 416.2 MB, free: 3.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001518/0.3818, allocations: 0.639 MB / 416.8 MB, free: 3.621 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3818, allocations: 6.375 kB / 416.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3818, allocations: 3.188 kB / 416.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/0.384, allocations: 0.8206 MB / 417.7 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.3843, allocations: 75.38 kB / 417.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006067/0.385, allocations: 1.174 MB / 418.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.3852, allocations: 27.05 kB / 419 MB, free: 2.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.3853, allocations: 16.58 kB / 419 MB, free: 2.422 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.3855, allocations: 158.1 kB / 419.1 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.3855, allocations: 33.69 kB / 419.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.3869, allocations: 0.538 MB / 419.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3869, allocations: 3.438 kB / 419.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3869, allocations: 0.875 kB / 419.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3869, allocations: 1.547 kB / 419.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3874, allocations: 384.4 kB / 420.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3874, allocations: 0 / 420.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.3877, allocations: 47.98 kB / 420.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.3895, allocations: 0.8188 MB / 420.9 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3896, allocations: 6.625 kB / 420.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005745/0.3902, allocations: 1.179 MB / 422.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3902, allocations: 3.984 kB / 422.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3914, allocations: 0.6096 MB / 422.7 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.3915, allocations: 103.5 kB / 422.8 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.3916, allocations: 6.266 kB / 422.8 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3918, allocations: 22.47 kB / 422.9 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.3919, allocations: 18.45 kB / 422.9 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3919, allocations: 14.52 kB / 422.9 MB, free: 212 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.3921, allocations: 222.4 kB / 423.1 MB, free: 60 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3922, allocations: 4 kB / 423.1 MB, free: 56 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.3927, allocations: 97.52 kB / 423.2 MB, free: 40 kB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002948/0.393, allocations: 137.2 kB / 423.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008842/0.3939, allocations: 324.1 kB / 423.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3939, allocations: 4.25 kB / 423.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.3944, allocations: 185.4 kB / 423.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3948, allocations: 43.69 kB / 423.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3962, allocations: 0.7875 MB / 424.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.3966, allocations: 0.7927 MB / 425.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.3967, allocations: 29.41 kB / 425.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3967, allocations: 0 / 425.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Templates: time 0.01116/0.4079, allocations: 6.991 MB / 432.5 MB, free: 10.65 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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 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