Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006285/0.006285, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 192 kB / 16.79 MB, free: 5.809 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.441/1.441, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007143/0.007143, allocations: 1.237 MB / 291.8 MB, free: 1.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 59.91 kB / 352.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1251, allocations: 49.68 MB / 402 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.2553/0.3805, allocations: 2.853 MB / 404.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.3834, allocations: 1.639 MB / 406.5 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.3837, allocations: 3.75 kB / 406.5 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008832/0.3846, allocations: 184.2 kB / 406.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.3849, allocations: 87.58 kB / 406.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000788/0.3857, allocations: 239.4 kB / 407 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006685/0.3864, allocations: 416.9 kB / 407.4 MB, free: 7.273 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3866, allocations: 104.1 kB / 407.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3869, allocations: 129.9 kB / 407.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3871, allocations: 161.7 kB / 407.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.3872, allocations: 19.19 kB / 407.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.3875, allocations: 182.1 kB / 408 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3877, allocations: 74.2 kB / 408 MB, free: 6.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3879, allocations: 158.9 kB / 408.2 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.3884, allocations: 332.4 kB / 408.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3884, allocations: 0 / 408.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3884, allocations: 0 / 408.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3884, allocations: 4 kB / 408.5 MB, free: 6.789 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001233/0.3897, allocations: 0.6525 MB / 409.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3897, allocations: 7.812 kB / 409.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.3898, allocations: 43.69 kB / 409.2 MB, free: 6.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.3902, allocations: 281.9 kB / 409.5 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.3902, allocations: 19.22 kB / 409.5 MB, free: 5.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.3903, allocations: 30.47 kB / 409.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.3909, allocations: 269.4 kB / 409.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3909, allocations: 0 / 409.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.391, allocations: 12.3 kB / 409.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.391, allocations: 5.406 kB / 409.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.3916, allocations: 251.6 kB / 410.1 MB, free: 5.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.3936, allocations: 1.073 MB / 411.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.3942, allocations: 255.7 kB / 411.4 MB, free: 4.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.3945, allocations: 119.5 kB / 411.5 MB, free: 4.871 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.685e-05/0.3946, allocations: 21.66 kB / 411.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3946, allocations: 37.77 kB / 411.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.355e-06/0.3946, allocations: 0 / 411.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.004924/0.3995, allocations: 1.631 MB / 413.2 MB, free: 4.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3996, allocations: 55.12 kB / 413.3 MB, free: 3.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.4, allocations: 277.9 kB / 413.5 MB, free: 3.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4001, allocations: 34.92 kB / 413.6 MB, free: 3.777 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4002, allocations: 201 kB / 413.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4003, allocations: 117.4 kB / 413.9 MB, free: 3.512 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.4005, allocations: 60.47 kB / 413.9 MB, free: 3.477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4006, allocations: 348.5 kB / 414.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.4008, allocations: 119.7 kB / 414.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.4012, allocations: 164.5 kB / 414.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.4017, allocations: 300 kB / 414.8 MB, free: 2.875 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4018, allocations: 4.719 kB / 414.8 MB, free: 2.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001878/0.4036, allocations: 0.6225 MB / 415.5 MB, free: 2.648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.4037, allocations: 11.84 kB / 415.5 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4037, allocations: 1.812 kB / 415.5 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.4067, allocations: 0.5296 MB / 416 MB, free: 2.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.407, allocations: 58.23 kB / 416.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008919/0.4079, allocations: 1.283 MB / 417.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.4081, allocations: 9.188 kB / 417.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.4082, allocations: 18.55 kB / 417.4 MB, free: 1.387 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.4084, allocations: 157.7 kB / 417.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.4084, allocations: 30.41 kB / 417.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.4102, allocations: 0.586 MB / 418.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4102, allocations: 3.312 kB / 418.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4102, allocations: 1.125 kB / 418.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4102, allocations: 2.016 kB / 418.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.4125, allocations: 1.059 MB / 419.2 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4126, allocations: 1.125 kB / 419.2 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.4128, allocations: 49.73 kB / 419.3 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/0.4157, allocations: 0.5204 MB / 419.8 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.4158, allocations: 15.36 kB / 419.8 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.4169, allocations: 1.276 MB / 421.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4169, allocations: 4.938 kB / 421.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.4191, allocations: 0.8219 MB / 421.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4192, allocations: 103.9 kB / 422 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.4193, allocations: 11.02 kB / 422 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4195, allocations: 17.59 kB / 422 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.4196, allocations: 20.52 kB / 422 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.4196, allocations: 7.156 kB / 422.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003106/0.42, allocations: 201.8 kB / 422.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.42, allocations: 1.156 kB / 422.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000578/0.4206, allocations: 104.5 kB / 422.4 MB, free: 14.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002832/0.4208, allocations: 134.1 kB / 422.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009282/0.4218, allocations: 328.2 kB / 422.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4218, allocations: 5.594 kB / 422.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.4223, allocations: 178.3 kB / 423 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.4227, allocations: 34.81 kB / 423 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.4248, allocations: 0.921 MB / 423.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.4253, allocations: 0.7934 MB / 424.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.4254, allocations: 22.83 kB / 424.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4255, allocations: 1.062 kB / 424.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01213/0.4376, allocations: 6.399 MB / 431.2 MB, free: 9.812 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.SaturatedInductorCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductorCalcHelperMain.o] Error 1