Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.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.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008356, allocations: 103 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.001237/0.001237, allocations: 174 kB / 16.58 MB, free: 5.969 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.532/1.532, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006956/0.006956, allocations: 1.224 MB / 292.9 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 8 kB / 354.1 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.396, allocations: 50.68 MB / 404.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.001692/0.3978, allocations: 0.9471 MB / 405.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.399, allocations: 0.601 MB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.399, allocations: 1.031 kB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3992, allocations: 30.31 kB / 406.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.3996, allocations: 64.83 kB / 406.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.3996, allocations: 0 / 406.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.3997, allocations: 36.69 kB / 406.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.3997, allocations: 2.969 kB / 406.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.3998, allocations: 18.09 kB / 406.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.3999, allocations: 16.55 kB / 406.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.3999, allocations: 0.75 kB / 406.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.4002, allocations: 135 kB / 406.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.4002, allocations: 9.891 kB / 406.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.4003, allocations: 31.17 kB / 406.7 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.4005, allocations: 102.8 kB / 406.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4005, allocations: 0 / 406.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4005, allocations: 0 / 406.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.4005, allocations: 0 / 406.8 MB, free: 9.375 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003435/0.4009, allocations: 357.7 kB / 407.1 MB, free: 8.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4009, allocations: 9.516 kB / 407.1 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.4009, allocations: 3.094 kB / 407.1 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4011, allocations: 186.8 kB / 407.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.4012, allocations: 1.422 kB / 407.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4012, allocations: 6.25 kB / 407.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.4013, allocations: 44.12 kB / 407.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4013, allocations: 2.359 kB / 407.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.4013, allocations: 0 / 407.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4013, allocations: 5.438 kB / 407.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/0.4014, allocations: 28.75 kB / 407.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.4016, allocations: 172.6 kB / 407.5 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.4019, allocations: 75.33 kB / 407.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.4019, allocations: 20.33 kB / 407.6 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.402, allocations: 12.97 kB / 407.7 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.402, allocations: 31.08 kB / 407.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.402, allocations: 1.25 kB / 407.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.002252/0.4042, allocations: 0.6039 MB / 408.3 MB, free: 8.285 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.4043, allocations: 55.34 kB / 408.3 MB, free: 8.219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.4044, allocations: 123.3 kB / 408.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4044, allocations: 30.98 kB / 408.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.4045, allocations: 86.62 kB / 408.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.4045, allocations: 15.73 kB / 408.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.4045, allocations: 5.031 kB / 408.6 MB, free: 7.977 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.4046, allocations: 318 kB / 408.9 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.4049, allocations: 153.5 kB / 409.1 MB, free: 7.629 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.4052, allocations: 155.7 kB / 409.2 MB, free: 7.594 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.4056, allocations: 153.4 kB / 409.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4056, allocations: 0 / 409.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0007714/0.4064, allocations: 378.5 kB / 409.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4064, allocations: 2.906 kB / 409.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4064, allocations: 0.6562 kB / 409.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.4064, allocations: 0 / 409.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.4066, allocations: 32.7 kB / 409.8 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.4067, allocations: 4.469 kB / 409.8 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4068, allocations: 4.266 kB / 409.8 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.4068, allocations: 30.62 kB / 409.8 MB, free: 7.438 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.588e-05/0.407, allocations: 116.9 kB / 409.9 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.407, allocations: 6 kB / 409.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006535/0.4076, allocations: 290.6 kB / 410.2 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4077, allocations: 1.188 kB / 410.2 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4077, allocations: 3.047 kB / 410.2 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4077, allocations: 3.953 kB / 410.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4088, allocations: 0.5877 MB / 410.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4088, allocations: 0 / 410.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.4089, allocations: 28.17 kB / 410.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4089, allocations: 1.719 kB / 410.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.409, allocations: 10.64 kB / 410.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.409, allocations: 1.375 kB / 410.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.409, allocations: 1.844 kB / 410.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.4095, allocations: 339.2 kB / 411.2 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.4096, allocations: 81.19 kB / 411.3 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.4096, allocations: 4.656 kB / 411.3 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.4097, allocations: 9.172 kB / 411.3 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.4098, allocations: 12.69 kB / 411.3 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.4098, allocations: 21.56 kB / 411.3 MB, free: 6.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.23e-05/0.4099, allocations: 96.11 kB / 411.4 MB, free: 6.422 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4099, allocations: 0 / 411.4 MB, free: 6.422 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.4103, allocations: 22.86 kB / 411.4 MB, free: 6.422 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($cse1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003333/0.4106, allocations: 127 kB / 411.5 MB, free: 6.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.4112, allocations: 218 kB / 411.8 MB, free: 6.281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4112, allocations: 1.094 kB / 411.8 MB, free: 6.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.4114, allocations: 82.22 kB / 411.8 MB, free: 6.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.4117, allocations: 7.594 kB / 411.8 MB, free: 6.266 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.4123, allocations: 283.1 kB / 412.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.4125, allocations: 0.6858 MB / 412.8 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4126, allocations: 28.78 kB / 412.8 MB, free: 5.363 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4126, allocations: 0 / 412.8 MB, free: 5.363 MB / 286.1 MB Notification: Performance of Templates: time 0.004562/0.4172, allocations: 1.615 MB / 414.5 MB, free: 5.211 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.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.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o] Error 1