Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 100.5 kB / 15.71 MB, free: 452 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.00136/0.00136, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.5/1.5, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01377/0.01377, allocations: 1.221 MB / 292.9 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 8 kB / 354.1 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3574, allocations: 50.67 MB / 404.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002468/0.3599, allocations: 1.237 MB / 406 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.362, allocations: 1.154 MB / 407.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.3621, allocations: 0.9688 kB / 407.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.3626, allocations: 118.4 kB / 407.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007132/0.3633, allocations: 177.1 kB / 407.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.052e-06/0.3634, allocations: 0 / 407.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.3636, allocations: 134.5 kB / 407.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.915e-05/0.3637, allocations: 11.98 kB / 407.6 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3638, allocations: 49.77 kB / 407.6 MB, free: 8.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.3641, allocations: 72.45 kB / 407.7 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3641, allocations: 2.875 kB / 407.7 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.3647, allocations: 258 kB / 408 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.3647, allocations: 40.58 kB / 408 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.3648, allocations: 40.89 kB / 408 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.3652, allocations: 197.1 kB / 408.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3653, allocations: 0 / 408.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3653, allocations: 5.188 kB / 408.2 MB, free: 8.719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3653, allocations: 0 / 408.2 MB, free: 8.719 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007374/0.366, allocations: 480 kB / 408.7 MB, free: 8.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.3661, allocations: 13.81 kB / 408.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.3662, allocations: 14.88 kB / 408.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.3665, allocations: 229.6 kB / 408.9 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3665, allocations: 1.031 kB / 409 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3666, allocations: 3.125 kB / 409 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.3668, allocations: 110.7 kB / 409.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3669, allocations: 0 / 409.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.3669, allocations: 5.266 kB / 409.1 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3669, allocations: 8.953 kB / 409.1 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.3672, allocations: 143.4 kB / 409.2 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.3676, allocations: 264.5 kB / 409.5 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.3679, allocations: 149.2 kB / 409.6 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.368, allocations: 72.56 kB / 409.7 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3681, allocations: 44.23 kB / 409.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3682, allocations: 34.56 kB / 409.8 MB, free: 7.609 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.3682, allocations: 0 / 409.8 MB, free: 7.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.001745/0.3699, allocations: 433.4 kB / 410.2 MB, free: 7.418 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.37, allocations: 54.16 kB / 410.2 MB, free: 7.355 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.3703, allocations: 215.4 kB / 410.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3703, allocations: 25.7 kB / 410.5 MB, free: 7.188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.3704, allocations: 119.5 kB / 410.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.3704, allocations: 33.83 kB / 410.6 MB, free: 7.051 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-06/0.3704, allocations: 1.469 kB / 410.6 MB, free: 7.051 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.3705, allocations: 328.3 kB / 411 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.3706, allocations: 56.3 kB / 411 MB, free: 6.723 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.3707, allocations: 70.11 kB / 411.1 MB, free: 6.703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3708, allocations: 61.12 kB / 411.1 MB, free: 6.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3708, allocations: 0 / 411.1 MB, free: 6.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000733/0.3716, allocations: 235.2 kB / 411.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3716, allocations: 10.17 kB / 411.4 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3716, allocations: 0.75 kB / 411.4 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007219/0.3724, allocations: 74.09 kB / 411.4 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.3725, allocations: 15.64 kB / 411.5 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.3744, allocations: 1.423 MB / 412.9 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.3745, allocations: 6.906 kB / 412.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.3745, allocations: 7.719 kB / 412.9 MB, free: 5.23 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.3747, allocations: 122.3 kB / 413 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3747, allocations: 18.64 kB / 413 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.3756, allocations: 273.8 kB / 413.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3756, allocations: 1.75 kB / 413.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.3756, allocations: 3.938 kB / 413.3 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3756, allocations: 1.828 kB / 413.3 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3759, allocations: 258.9 kB / 413.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3759, allocations: 3.953 kB / 413.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.3759, allocations: 13.25 kB / 413.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/0.3765, allocations: 74.98 kB / 413.7 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3765, allocations: 2.453 kB / 413.7 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.3781, allocations: 1.426 MB / 415.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3781, allocations: 1.188 kB / 415.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.3789, allocations: 266.4 kB / 415.3 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.3789, allocations: 90.94 kB / 415.4 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.379, allocations: 5.797 kB / 415.4 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.95e-05/0.379, allocations: 10.55 kB / 415.4 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3791, allocations: 9.203 kB / 415.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3791, allocations: 4.328 kB / 415.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3793, allocations: 167.3 kB / 415.6 MB, free: 3.082 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3793, allocations: 0 / 415.6 MB, free: 3.082 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000473/0.3798, allocations: 75.2 kB / 415.7 MB, free: 3.066 MB / 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002737/0.38, allocations: 154.5 kB / 415.9 MB, free: 2.953 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.3806, allocations: 275.9 kB / 416.1 MB, free: 2.805 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3806, allocations: 0 / 416.1 MB, free: 2.805 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.381, allocations: 203.8 kB / 416.3 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3813, allocations: 33.34 kB / 416.4 MB, free: 2.656 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.3847, allocations: 0.6106 MB / 417 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.385, allocations: 0.7242 MB / 417.7 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.385, allocations: 15.95 kB / 417.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of SimCode: time 8.11e-07/0.385, allocations: 1.375 kB / 417.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of Templates: time 0.008318/0.3934, allocations: 2.977 MB / 420.7 MB, free: 1.422 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristicCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o] Error 1