Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.0009138, allocations: 89.62 kB / 17.58 MB, free: 6.168 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.00141/0.00141, allocations: 184.1 kB / 18.47 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 224.6 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004472, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002958/0.1179, allocations: 2.256 MB / 331.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1195, allocations: 0.8076 MB / 332 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.1196, allocations: 4 kB / 332 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.1199, allocations: 43.64 kB / 332.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1201, allocations: 83.44 kB / 332.2 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1204, allocations: 79.78 kB / 332.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.1207, allocations: 318.7 kB / 332.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.1209, allocations: 81.69 kB / 332.6 MB, free: 412 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1211, allocations: 119.5 kB / 332.8 MB, free: 292 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1213, allocations: 127.4 kB / 332.9 MB, free: 164 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1213, allocations: 20 kB / 332.9 MB, free: 144 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.1214, allocations: 16 kB / 332.9 MB, free: 128 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.1214, allocations: 43.83 kB / 333 MB, free: 84 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.1215, allocations: 81.62 kB / 333 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1218, allocations: 263.5 kB / 333.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1218, allocations: 0 / 333.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1218, allocations: 0 / 333.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1218, allocations: 0 / 333.3 MB, free: 15.73 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000911/0.1228, allocations: 0.5573 MB / 333.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1228, allocations: 8.031 kB / 333.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.1229, allocations: 35.53 kB / 333.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1232, allocations: 262.1 kB / 334.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1232, allocations: 24.52 kB / 334.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.1233, allocations: 24 kB / 334.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.1238, allocations: 252.9 kB / 334.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1238, allocations: 0 / 334.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.1239, allocations: 16 kB / 334.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1239, allocations: 4 kB / 334.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.1243, allocations: 218.1 kB / 334.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1259, allocations: 1.013 MB / 335.7 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.1263, allocations: 202.6 kB / 335.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.1266, allocations: 116.8 kB / 336 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1266, allocations: 0 / 336 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1267, allocations: 38.56 kB / 336 MB, free: 12.78 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.062e-06/0.1267, allocations: 0 / 336 MB, free: 12.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.004788/0.1315, allocations: 1.554 MB / 337.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1315, allocations: 51.41 kB / 337.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.1318, allocations: 228.9 kB / 337.9 MB, free: 10.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1318, allocations: 33.64 kB / 337.9 MB, free: 10.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.132, allocations: 180.2 kB / 338.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.1321, allocations: 118.3 kB / 338.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.1321, allocations: 12 kB / 338.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1323, allocations: 346.7 kB / 338.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.1325, allocations: 108.7 kB / 338.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1328, allocations: 157.5 kB / 338.8 MB, free: 9.879 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.133, allocations: 135.8 kB / 338.9 MB, free: 9.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.133, allocations: 0 / 338.9 MB, free: 9.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001437/0.1345, allocations: 0.5334 MB / 339.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.1345, allocations: 7.984 kB / 339.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1345, allocations: 0 / 339.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.1358, allocations: 257.4 kB / 339.7 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.1361, allocations: 55.97 kB / 339.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/0.1414, allocations: 3.752 MB / 343.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1416, allocations: 12.03 kB / 343.5 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1417, allocations: 15.98 kB / 343.6 MB, free: 4.828 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.1419, allocations: 145.8 kB / 343.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.142, allocations: 31.72 kB / 343.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-05/0.1421, allocations: 38.95 kB / 343.8 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1421, allocations: 8 kB / 343.8 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.1421, allocations: 3.953 kB / 343.8 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1421, allocations: 0 / 343.8 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.1441, allocations: 0.9884 MB / 344.8 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.1441, allocations: 4 kB / 344.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1443, allocations: 39.97 kB / 344.8 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.1455, allocations: 253.5 kB / 345.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.1455, allocations: 4 kB / 345.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/0.1498, allocations: 3.74 MB / 348.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1498, allocations: 3.938 kB / 348.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.1515, allocations: 0.7293 MB / 349.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.927e-05/0.1516, allocations: 112.7 kB / 349.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1517, allocations: 8 kB / 349.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1519, allocations: 16 kB / 349.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.152, allocations: 35.95 kB / 349.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.152, allocations: 12 kB / 349.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1522, allocations: 160.5 kB / 349.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1522, allocations: 0 / 349.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005937/0.1528, allocations: 100 kB / 350 MB, free: 14.02 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.1529, allocations: 103.2 kB / 350.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000971/0.1539, allocations: 0.5749 MB / 350.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1539, allocations: 0 / 350.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.1545, allocations: 441.4 kB / 351.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1548, allocations: 24.44 kB / 351.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1565, allocations: 0.8761 MB / 352 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.1569, allocations: 0.7799 MB / 352.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/0.157, allocations: 27.42 kB / 352.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.157, allocations: 0 / 352.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Templates: time 0.008642/0.1657, allocations: 5.961 MB / 358.8 MB, free: 5.102 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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 OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductorCalcHelperMain.o] Error 1