Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001376/0.001376, allocations: 190 kB / 18.72 MB, free: 4.781 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.011/2.011, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001303/0.001303, allocations: 47.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 46.64 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02159/0.1763, allocations: 16.24 MB / 343.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.193, allocations: 4.635 MB / 348.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007242/0.2003, allocations: 107.7 kB / 348.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0193/0.2198, allocations: 6.799 MB / 355 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.231, allocations: 1.711 MB / 356.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007239/0.2382, allocations: 1.535 MB / 358.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01987/0.2581, allocations: 9.489 MB / 367.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4347/0.6929, allocations: 17.62 MB / 385.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01595/0.7089, allocations: 4.662 MB / 390.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01699/0.726, allocations: 5.715 MB / 395.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007039/0.7331, allocations: 1.005 MB / 396.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.7447, allocations: 1.295 MB / 398.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01023/0.755, allocations: 2.42 MB / 400.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01861/0.7737, allocations: 4.98 MB / 405.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02322/0.797, allocations: 15.68 MB / 421.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.7971, allocations: 0 / 421.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7971, allocations: 4 kB / 421.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008647/0.798, allocations: 0 / 421.2 MB, free: 2.043 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.06036/0.8584, allocations: 12.21 MB / 433.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.828e-05/0.8585, allocations: 16.03 kB / 433.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03963/0.8982, allocations: 6.182 MB / 439.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/0.9176, allocations: 5.158 MB / 444.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001355/0.919, allocations: 0.6772 MB / 445.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006744/0.9258, allocations: 0.8853 MB / 446.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06414/0.99, allocations: 14.74 MB / 461 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007359/0.9908, allocations: 7.906 kB / 461 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006173/0.997, allocations: 378.4 kB / 461.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000905/0.998, allocations: 0.4915 MB / 461.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04478/1.043, allocations: 13.56 MB / 475.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1306/1.174, allocations: 44.59 MB / 0.5079 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/1.195, allocations: 11.71 MB / 0.5193 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007196/1.202, allocations: 3.236 MB / 0.5225 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007345/1.203, allocations: 180.1 kB / 0.5226 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/1.203, allocations: 82.56 kB / 0.5227 GB, free: 224 kB / 430.1 MB Notification: Performance of pre-optimization done (n=421): time 1.337e-05/1.203, allocations: 0 / 0.5227 GB, free: 224 kB / 430.1 MB Notification: Performance of matching and sorting (n=421): time 0.02826/1.232, allocations: 9.711 MB / 0.5322 GB, free: 6.504 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/1.232, allocations: 124.9 kB / 0.5323 GB, free: 6.367 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.242, allocations: 3.156 MB / 0.5354 GB, free: 3.191 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001478/1.243, allocations: 93.7 kB / 0.5355 GB, free: 3.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.4018/1.645, allocations: 3.674 MB / 0.5391 GB, free: 147.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002515/1.648, allocations: 1.432 MB / 0.5405 GB, free: 146.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002907/1.651, allocations: 1.138 MB / 0.5416 GB, free: 146.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/1.651, allocations: 301.6 kB / 0.5419 GB, free: 146 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006381/1.657, allocations: 2.909 MB / 0.5447 GB, free: 146 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00824/1.666, allocations: 4.974 MB / 0.5496 GB, free: 142.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/1.679, allocations: 8.412 MB / 0.5578 GB, free: 137.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002476/1.68, allocations: 18.84 kB / 0.5578 GB, free: 137.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02117/1.701, allocations: 9.238 MB / 0.5668 GB, free: 133.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/1.701, allocations: 35.62 kB / 0.5669 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/1.701, allocations: 65.88 kB / 0.5669 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/1.705, allocations: 1.123 MB / 0.568 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005348/1.71, allocations: 1.299 MB / 0.5693 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.725, allocations: 9.915 MB / 0.579 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005978/1.731, allocations: 0.7403 MB / 0.5797 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.733, allocations: 277.4 kB / 0.58 GB, free: 127.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01004/1.743, allocations: 3.428 MB / 0.5833 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.744, allocations: 354.2 kB / 0.5836 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/1.76, allocations: 7.047 MB / 0.5905 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009913/1.77, allocations: 5.871 MB / 0.5963 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.713e-05/1.77, allocations: 15.94 kB / 0.5963 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.723e-05/1.77, allocations: 26.83 kB / 0.5963 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04281/1.813, allocations: 15.54 MB / 0.6115 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.769e-05/1.813, allocations: 12 kB / 0.6115 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.816, allocations: 0.784 MB / 0.6123 GB, free: 99.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/1.819, allocations: 1.036 MB / 0.6133 GB, free: 98.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007531/1.82, allocations: 116 kB / 0.6134 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/1.834, allocations: 9.676 MB / 0.6228 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/1.834, allocations: 24.59 kB / 0.6229 GB, free: 88.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.853, allocations: 10.93 MB / 0.6335 GB, free: 77.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003296/1.856, allocations: 1.003 MB / 0.6345 GB, free: 76.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/1.857, allocations: 92 kB / 0.6346 GB, free: 76.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/1.861, allocations: 283.7 kB / 0.6349 GB, free: 76.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/1.862, allocations: 347.2 kB / 0.6352 GB, free: 75.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000581/1.863, allocations: 142.1 kB / 0.6353 GB, free: 75.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005321/1.868, allocations: 2.125 MB / 0.6374 GB, free: 73.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/1.868, allocations: 0 / 0.6374 GB, free: 73.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01233/1.88, allocations: 2.227 MB / 0.6396 GB, free: 71.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001562/1.882, allocations: 303.1 kB / 0.6399 GB, free: 70.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01499/1.897, allocations: 7.569 MB / 0.6473 GB, free: 63.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.571e-05/1.897, allocations: 0 / 0.6473 GB, free: 63.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006696/1.904, allocations: 3.733 MB / 0.6509 GB, free: 59.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006595/1.91, allocations: 0.7688 MB / 0.6517 GB, free: 58.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03906/1.949, allocations: 19.72 MB / 0.6709 GB, free: 38.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005591/1.955, allocations: 5.76 MB / 0.6765 GB, free: 33.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.957, allocations: 367.4 kB / 0.6769 GB, free: 32.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.957, allocations: 0 / 0.6769 GB, free: 32.77 MB / 446.1 MB Notification: Performance of Templates: time 0.6476/2.605, allocations: 194.8 MB / 0.8671 GB, free: 3.379 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o] Error 1