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.0008487/0.0008487, allocations: 92.7 kB / 16.02 MB, free: 80 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.001134/0.001134, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.493/1.493, allocations: 223.2 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006867/0.006867, allocations: 1.219 MB / 293.3 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003463, allocations: 12 kB / 354.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3939, allocations: 50.67 MB / 405.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004503/0.3984, allocations: 2.653 MB / 408 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.4014, allocations: 1.382 MB / 409.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.4017, allocations: 4.188 kB / 409.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.4023, allocations: 143 kB / 409.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.4027, allocations: 89.81 kB / 409.7 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008331/0.4035, allocations: 235.5 kB / 409.9 MB, free: 7.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.4041, allocations: 456.5 kB / 410.3 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.4044, allocations: 117.3 kB / 410.4 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.4048, allocations: 149.5 kB / 410.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.4052, allocations: 177.6 kB / 410.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.4052, allocations: 20.06 kB / 410.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.4058, allocations: 208.3 kB / 411 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4059, allocations: 74.3 kB / 411.1 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.4062, allocations: 204.8 kB / 411.3 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007715/0.4069, allocations: 388.5 kB / 411.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.407, allocations: 0 / 411.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.407, allocations: 0 / 411.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.407, allocations: 0 / 411.6 MB, free: 7.027 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.001432/0.4084, allocations: 0.6533 MB / 412.3 MB, free: 6.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.4085, allocations: 13 kB / 412.3 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/0.4086, allocations: 40.94 kB / 412.3 MB, free: 6.488 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.4091, allocations: 326.5 kB / 412.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.4091, allocations: 22.84 kB / 412.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.4092, allocations: 33.25 kB / 412.7 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.41, allocations: 314.2 kB / 413 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.41, allocations: 0 / 413 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.41, allocations: 19.39 kB / 413 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.4101, allocations: 7.656 kB / 413.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.4109, allocations: 295.8 kB / 413.3 MB, free: 5.953 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.4129, allocations: 1.175 MB / 414.5 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.4135, allocations: 196.7 kB / 414.7 MB, free: 5.062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.4137, allocations: 88.22 kB / 414.8 MB, free: 5.031 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.4138, allocations: 22.72 kB / 414.8 MB, free: 5.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.4138, allocations: 32.52 kB / 414.8 MB, free: 4.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.4138, allocations: 3.938 kB / 414.8 MB, free: 4.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.003611/0.4175, allocations: 0.977 MB / 415.8 MB, free: 4.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4175, allocations: 58.39 kB / 415.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.418, allocations: 314.7 kB / 416.2 MB, free: 4.445 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.418, allocations: 30.89 kB / 416.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4182, allocations: 244.6 kB / 416.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.596e-05/0.4183, allocations: 98.39 kB / 416.6 MB, free: 4.125 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.4183, allocations: 36.39 kB / 416.6 MB, free: 4.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4184, allocations: 340.2 kB / 416.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.4188, allocations: 131.4 kB / 417.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.4194, allocations: 235.2 kB / 417.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.4202, allocations: 372.7 kB / 417.6 MB, free: 3.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4202, allocations: 1.094 kB / 417.6 MB, free: 3.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0017/0.4219, allocations: 0.6181 MB / 418.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.422, allocations: 7.203 kB / 418.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.422, allocations: 3.062 kB / 418.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/0.4245, allocations: 0.8218 MB / 419.1 MB, free: 3.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.4248, allocations: 79.62 kB / 419.2 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007256/0.4256, allocations: 1.177 MB / 420.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.4259, allocations: 42.27 kB / 420.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.426, allocations: 17.12 kB / 420.4 MB, free: 1.934 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 (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.0002208/0.4262, allocations: 158.9 kB / 420.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.4263, allocations: 28.69 kB / 420.6 MB, free: 1.773 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.4278, allocations: 0.5466 MB / 421.1 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4278, allocations: 7.453 kB / 421.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4278, allocations: 0 / 421.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4278, allocations: 2.594 kB / 421.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.4284, allocations: 379.4 kB / 421.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4284, allocations: 0.6562 kB / 421.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.4286, allocations: 54.95 kB / 421.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/0.4309, allocations: 0.8092 MB / 422.4 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.4309, allocations: 10.28 kB / 422.4 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006261/0.4315, allocations: 1.17 MB / 423.6 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4315, allocations: 0.9688 kB / 423.6 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.433, allocations: 0.6158 MB / 424.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4331, allocations: 108.9 kB / 424.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.4332, allocations: 2.344 kB / 424.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4334, allocations: 25.67 kB / 424.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.4335, allocations: 22.56 kB / 424.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.4335, allocations: 5.906 kB / 424.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002956/0.4338, allocations: 224.1 kB / 424.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4338, allocations: 0 / 424.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005936/0.4344, allocations: 99.94 kB / 424.7 MB, free: 15.38 MB / 302.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.0002697/0.4347, allocations: 144.1 kB / 424.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4357, allocations: 331.5 kB / 425.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4357, allocations: 0 / 425.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.4363, allocations: 187.1 kB / 425.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.4367, allocations: 47.75 kB / 425.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4385, allocations: 0.8405 MB / 426.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.4391, allocations: 0.7841 MB / 427 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4392, allocations: 29.52 kB / 427 MB, free: 13.66 MB / 302.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4392, allocations: 4 kB / 427 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Templates: time 0.01257/0.4518, allocations: 6.981 MB / 434 MB, free: 9.805 MB / 302.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