Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00096/0.0009601, allocations: 98.39 kB / 17.96 MB, free: 5.77 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.001271/0.001272, allocations: 177.3 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005376/0.0005377, allocations: 11.94 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1704, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005189/0.1757, allocations: 2.45 MB / 332.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.1795, allocations: 1.271 MB / 333.3 MB, free: 12 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.1801, allocations: 8 kB / 333.3 MB, free: 4 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.1807, allocations: 51.62 kB / 333.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.182, allocations: 191 kB / 333.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.1825, allocations: 103.9 kB / 333.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.1832, allocations: 442.9 kB / 334.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.1834, allocations: 73.36 kB / 334.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.1838, allocations: 155.5 kB / 334.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.1841, allocations: 211.1 kB / 334.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.1842, allocations: 28 kB / 334.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.1846, allocations: 135.9 kB / 334.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1847, allocations: 75.72 kB / 334.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.185, allocations: 192.8 kB / 335 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.1855, allocations: 370.9 kB / 335.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1855, allocations: 0 / 335.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1855, allocations: 0 / 335.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1855, allocations: 0 / 335.3 MB, free: 14.01 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001733/0.1872, allocations: 0.6471 MB / 336 MB, free: 13.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.1873, allocations: 12.03 kB / 336 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1874, allocations: 32.56 kB / 336 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.188, allocations: 337 kB / 336.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.1881, allocations: 50.83 kB / 336.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.1883, allocations: 40.48 kB / 336.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.189, allocations: 328.4 kB / 336.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.189, allocations: 4 kB / 336.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.1891, allocations: 12 kB / 336.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1891, allocations: 4 kB / 336.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.1898, allocations: 310 kB / 337.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.1919, allocations: 1.171 MB / 338.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.1926, allocations: 297.1 kB / 338.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.193, allocations: 173.6 kB / 338.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.1931, allocations: 7.938 kB / 338.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.1931, allocations: 46.5 kB / 338.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.1931, allocations: 0 / 338.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.009936/0.2031, allocations: 2.546 MB / 341.3 MB, free: 7.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.2032, allocations: 81.11 kB / 341.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.2037, allocations: 285 kB / 341.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.2038, allocations: 33.7 kB / 341.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2039, allocations: 168.4 kB / 341.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.2041, allocations: 141.9 kB / 342 MB, free: 6.992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.2042, allocations: 37.7 kB / 342 MB, free: 6.949 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.2044, allocations: 350.8 kB / 342.4 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.2048, allocations: 164.8 kB / 342.5 MB, free: 6.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.2053, allocations: 242.6 kB / 342.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.2063, allocations: 427.6 kB / 343.2 MB, free: 5.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2063, allocations: 7.938 kB / 343.2 MB, free: 5.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001211/0.2075, allocations: 0.5005 MB / 343.7 MB, free: 5.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.2076, allocations: 8.031 kB / 343.7 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.2076, allocations: 4 kB / 343.7 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.2077, allocations: 4 kB / 343.7 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.2083, allocations: 123.8 kB / 343.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.2083, allocations: 4 kB / 343.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.2087, allocations: 43.92 kB / 343.9 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.2088, allocations: 19.98 kB / 343.9 MB, free: 5.027 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.2091, allocations: 153.7 kB / 344.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2092, allocations: 31.62 kB / 344.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.2114, allocations: 0.6838 MB / 344.8 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.2114, allocations: 8 kB / 344.8 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2114, allocations: 0 / 344.8 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2114, allocations: 3.984 kB / 344.8 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.2149, allocations: 1.318 MB / 346.1 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2149, allocations: 0 / 346.1 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.2153, allocations: 95.88 kB / 346.2 MB, free: 2.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.2171, allocations: 292.5 kB / 346.5 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.2172, allocations: 8 kB / 346.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.2217, allocations: 2.272 MB / 348.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2217, allocations: 3.938 kB / 348.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.2243, allocations: 1.061 MB / 349.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.2246, allocations: 152.6 kB / 350 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.2247, allocations: 12 kB / 350 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.2252, allocations: 35.97 kB / 350 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.2253, allocations: 40.38 kB / 350.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.2254, allocations: 16 kB / 350.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003346/0.2257, allocations: 208.5 kB / 350.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2257, allocations: 4 kB / 350.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006947/0.2264, allocations: 116 kB / 350.4 MB, free: 14.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004356/0.2269, allocations: 139.1 kB / 350.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.2281, allocations: 454.3 kB / 351 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2281, allocations: 0 / 351 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008449/0.229, allocations: 393.2 kB / 351.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.2296, allocations: 44.31 kB / 351.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.232, allocations: 1.246 MB / 352.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.2326, allocations: 0.7932 MB / 353.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.2328, allocations: 39.41 kB / 353.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2328, allocations: 0 / 353.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of Templates: time 0.01168/0.2445, allocations: 5.672 MB / 359.2 MB, free: 5.426 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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 OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.o] Error 1