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.001177/0.001177, allocations: 96.14 kB / 15.87 MB, free: 16 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.001301/0.001301, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01425/0.01425, allocations: 1.229 MB / 291.8 MB, free: 1.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 55.91 kB / 352.3 MB, free: 7.168 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, allocations: 49.7 MB / 402 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002813/0.1255, allocations: 1.6 MB / 403.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1275, allocations: 1.281 MB / 404.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.1275, allocations: 0 / 404.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.1281, allocations: 147.4 kB / 405 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.1286, allocations: 231.2 kB / 405.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.37e-06/0.1286, allocations: 0 / 405.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1288, allocations: 167.4 kB / 405.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.1289, allocations: 13.7 kB / 405.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.129, allocations: 43.78 kB / 405.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1292, allocations: 75.67 kB / 405.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1292, allocations: 4 kB / 405.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.1298, allocations: 427.1 kB / 405.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.1299, allocations: 39.81 kB / 406 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.1299, allocations: 59.55 kB / 406 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.1303, allocations: 247.4 kB / 406.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1303, allocations: 0 / 406.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1303, allocations: 0 / 406.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1303, allocations: 0 / 406.3 MB, free: 1.098 MB / 334.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.0007085/0.131, allocations: 486.5 kB / 406.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1311, allocations: 15.97 kB / 406.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1311, allocations: 16.73 kB / 406.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1314, allocations: 247.6 kB / 407 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1314, allocations: 384 / 407 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1314, allocations: 8.375 kB / 407 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1316, allocations: 102 kB / 407.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1316, allocations: 4 kB / 407.1 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1316, allocations: 4 kB / 407.2 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1316, allocations: 3.984 kB / 407.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1318, allocations: 147.9 kB / 407.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.1321, allocations: 257.5 kB / 407.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1323, allocations: 158.5 kB / 407.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.1324, allocations: 68.83 kB / 407.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.929e-05/0.1325, allocations: 39.97 kB / 407.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1325, allocations: 38.5 kB / 407.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1325, allocations: 0 / 407.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001897/0.1344, allocations: 443.3 kB / 408.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1345, allocations: 51.41 kB / 408.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1347, allocations: 219 kB / 408.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1347, allocations: 25.7 kB / 408.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1348, allocations: 120.1 kB / 408.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.1349, allocations: 35.48 kB / 408.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1349, allocations: 21.72 kB / 408.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1351, allocations: 330.8 kB / 409.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.1351, allocations: 59.97 kB / 409.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.1352, allocations: 55.97 kB / 409.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1354, allocations: 140.7 kB / 409.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1354, allocations: 0 / 409.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008048/0.1362, allocations: 242.1 kB / 409.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1362, allocations: 4.656 kB / 409.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1362, allocations: 0 / 409.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/0.137, allocations: 80.75 kB / 409.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.1371, allocations: 8 kB / 409.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.1391, allocations: 1.44 MB / 411.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.1392, allocations: 8 kB / 411.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1392, allocations: 7.984 kB / 411.1 MB, free: 11.89 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.1393, allocations: 121.8 kB / 411.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1394, allocations: 15.81 kB / 411.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008653/0.1403, allocations: 267.7 kB / 411.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1403, allocations: 0 / 411.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1403, allocations: 0 / 411.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1403, allocations: 4 kB / 411.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1405, allocations: 257.5 kB / 411.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1405, allocations: 0 / 411.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.1406, allocations: 19.92 kB / 411.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006635/0.1413, allocations: 72.77 kB / 411.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1413, allocations: 3.938 kB / 411.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.1431, allocations: 1.44 MB / 413.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1431, allocations: 0 / 413.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007912/0.1439, allocations: 269.7 kB / 413.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.144, allocations: 92.91 kB / 413.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.144, allocations: 4 kB / 413.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.1441, allocations: 4 kB / 413.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1441, allocations: 7.984 kB / 413.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1441, allocations: 7.984 kB / 413.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1442, allocations: 168.3 kB / 413.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1443, allocations: 4 kB / 413.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.1447, allocations: 75.94 kB / 413.9 MB, free: 8.844 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.145, allocations: 167.1 kB / 414.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.1456, allocations: 266.5 kB / 414.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1456, allocations: 4 kB / 414.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.146, allocations: 202.6 kB / 414.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1463, allocations: 27.88 kB / 414.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.1501, allocations: 0.6407 MB / 415.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1505, allocations: 0.7204 MB / 415.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.1506, allocations: 19.44 kB / 415.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1506, allocations: 0 / 415.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of Templates: time 0.005319/0.1559, allocations: 2.979 MB / 418.9 MB, free: 3.738 MB / 350.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristicCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o] Error 1