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.0008946/0.0008942, allocations: 100 kB / 17.96 MB, free: 5.766 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.0009748/0.0009747, allocations: 179 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.244/2.244, allocations: 205.4 MB / 225 MB, free: 12.99 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.0005583/0.0005584, allocations: 10.81 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1483, allocations: 47.59 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02035/0.1688, allocations: 15.38 MB / 345 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.1841, allocations: 4.588 MB / 349.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005406/0.1896, allocations: 107.7 kB / 349.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006479/0.1962, allocations: 1.163 MB / 350.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.2071, allocations: 1.688 MB / 352.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006612/0.2137, allocations: 1.524 MB / 354.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01882/0.2325, allocations: 9.477 MB / 363.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4202/0.6528, allocations: 20.99 MB / 384.5 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.665, allocations: 3.752 MB / 388.3 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.6779, allocations: 4.542 MB / 392.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005033/0.683, allocations: 0.5614 MB / 393.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009202/0.6923, allocations: 0.8505 MB / 394.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008262/0.7006, allocations: 1.798 MB / 396 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01479/0.7155, allocations: 4.264 MB / 400.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.7336, allocations: 15.25 MB / 415.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.7336, allocations: 0 / 415.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.7336, allocations: 0 / 415.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007735/0.7344, allocations: 0 / 415.6 MB, free: 7.152 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.03558/0.77, allocations: 10.28 MB / 425.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/0.7701, allocations: 8.219 kB / 425.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03689/0.807, allocations: 6.219 MB / 432.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.8226, allocations: 5.177 MB / 437.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009563/0.8236, allocations: 0.6761 MB / 437.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005622/0.8292, allocations: 0.877 MB / 438.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05154/0.8808, allocations: 14.75 MB / 453.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004927/0.8813, allocations: 11.91 kB / 453.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004477/0.8858, allocations: 371 kB / 453.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006264/0.8864, allocations: 499.3 kB / 454.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03454/0.921, allocations: 13.55 MB / 468 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09424/1.015, allocations: 44.73 MB / 0.5007 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.03, allocations: 11.7 MB / 0.5121 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00603/1.036, allocations: 3.229 MB / 0.5153 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/1.037, allocations: 178.4 kB / 0.5154 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.037, allocations: 78.56 kB / 0.5155 GB, free: 9.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=421): time 1.322e-05/1.037, allocations: 0 / 0.5155 GB, free: 9.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=421): time 0.02788/1.065, allocations: 9.76 MB / 0.525 GB, free: 52 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.065, allocations: 121.1 kB / 0.5251 GB, free: 15.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009475/1.074, allocations: 3.152 MB / 0.5282 GB, free: 12.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00147/1.076, allocations: 93.7 kB / 0.5283 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003897/1.08, allocations: 3.669 MB / 0.5319 GB, free: 8.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003219/1.083, allocations: 1.441 MB / 0.5333 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/1.084, allocations: 466.8 kB / 0.5337 GB, free: 7.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/1.084, allocations: 309.1 kB / 0.534 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006148/1.091, allocations: 2.908 MB / 0.5369 GB, free: 3.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3682/1.459, allocations: 4.973 MB / 0.5417 GB, free: 142.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/1.479, allocations: 8.408 MB / 0.5499 GB, free: 139.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003061/1.479, allocations: 19.06 kB / 0.55 GB, free: 139.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02981/1.509, allocations: 9.24 MB / 0.559 GB, free: 136.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000266/1.51, allocations: 35.5 kB / 0.559 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002859/1.51, allocations: 67.91 kB / 0.5591 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/1.515, allocations: 1.124 MB / 0.5602 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007587/1.523, allocations: 1.284 MB / 0.5614 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/1.543, allocations: 9.926 MB / 0.5711 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007958/1.551, allocations: 0.7436 MB / 0.5719 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002357/1.554, allocations: 277.7 kB / 0.5721 GB, free: 130 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.0109/1.564, allocations: 3.433 MB / 0.5755 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/1.567, allocations: 347 kB / 0.5758 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.584, allocations: 7.048 MB / 0.5827 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01257/1.597, allocations: 5.871 MB / 0.5884 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.401e-05/1.597, allocations: 12 kB / 0.5884 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/1.597, allocations: 23.39 kB / 0.5885 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04238/1.639, allocations: 15.56 MB / 0.6037 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.313e-05/1.639, allocations: 13.62 kB / 0.6037 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/1.643, allocations: 0.784 MB / 0.6044 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003271/1.646, allocations: 1.036 MB / 0.6054 GB, free: 107.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/1.647, allocations: 112 kB / 0.6055 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/1.661, allocations: 9.681 MB / 0.615 GB, free: 97.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/1.661, allocations: 19.94 kB / 0.615 GB, free: 97.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/1.682, allocations: 10.93 MB / 0.6257 GB, free: 86.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003766/1.686, allocations: 1.007 MB / 0.6267 GB, free: 85.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/1.688, allocations: 95.98 kB / 0.6268 GB, free: 84.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004034/1.692, allocations: 276.2 kB / 0.627 GB, free: 84.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/1.694, allocations: 347.2 kB / 0.6274 GB, free: 84.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008983/1.695, allocations: 140 kB / 0.6275 GB, free: 84.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007113/1.702, allocations: 2.127 MB / 0.6296 GB, free: 82.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.52e-07/1.702, allocations: 0 / 0.6296 GB, free: 82.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01225/1.714, allocations: 2.223 MB / 0.6317 GB, free: 79.89 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.00214/1.716, allocations: 304.8 kB / 0.632 GB, free: 79.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01682/1.733, allocations: 7.585 MB / 0.6394 GB, free: 71.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.871e-05/1.733, allocations: 1.141 kB / 0.6394 GB, free: 71.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008179/1.741, allocations: 3.721 MB / 0.6431 GB, free: 68.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/1.754, allocations: 0.7721 MB / 0.6438 GB, free: 67.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04689/1.801, allocations: 19.78 MB / 0.6632 GB, free: 47.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008006/1.809, allocations: 5.757 MB / 0.6688 GB, free: 41.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.811, allocations: 363.4 kB / 0.6691 GB, free: 41.34 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/1.811, allocations: 0 / 0.6691 GB, free: 41.34 MB / 446.1 MB Notification: Performance of Templates: time 0.5343/2.345, allocations: 193.7 MB / 0.8583 GB, free: 3.02 MB / 446.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