Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.111/1.111, allocations: 120.6 MB / 435.3 MB, free: 0.6289 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] Thread is still alive. "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.91 kB / 0.6075 GB, free: 10.7 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1903, allocations: 85.87 MB / 0.6914 GB, free: 4.605 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20): time 0.004172/0.1945, allocations: 2.579 MB / 0.6939 GB, free: 2.016 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1959, allocations: 0.6428 MB / 0.6945 GB, free: 1.367 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.1961, allocations: 11.94 kB / 0.6945 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1963, allocations: 47.56 kB / 0.6946 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1966, allocations: 83.2 kB / 0.6947 GB, free: 1.227 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.197, allocations: 91.88 kB / 0.6947 GB, free: 1.137 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.05301/0.25, allocations: 53.69 MB / 0.7472 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7052/0.9551, allocations: 12.78 MB / 0.7597 GB, free: 7.348 MB / 0.5767 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03567/0.9908, allocations: 21.88 MB / 0.781 GB, free: 4.398 MB / 0.5767 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04571/1.037, allocations: 22.04 MB / 0.8025 GB, free: 200 kB / 0.5767 GB Notification: Performance of NFPackage.collectConstants: time 0.02152/1.058, allocations: 3.806 MB / 0.8063 GB, free: 200 kB / 0.5767 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02651/1.085, allocations: 3.813 MB / 0.81 GB, free: 200 kB / 0.5767 GB Notification: Performance of NFScalarize.scalarize: time 0.02897/1.114, allocations: 10.15 MB / 0.8199 GB, free: 9.523 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.04843/1.162, allocations: 18.87 MB / 0.8383 GB, free: 7.078 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.08144/1.243, allocations: 60.09 MB / 0.897 GB, free: 11.31 MB / 0.6704 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.243, allocations: 0 / 0.897 GB, free: 11.31 MB / 0.6704 GB Notification: Performance of FrontEnd: time 2.144e-06/1.243, allocations: 0 / 0.897 GB, free: 11.31 MB / 0.6704 GB Notification: Performance of Transformations before backend: time 0.002891/1.246, allocations: 0 / 0.897 GB, free: 11.31 MB / 0.6704 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8489 * Number of variables: 8489 Notification: Performance of Generate backend data structure: time 0.1575/1.404, allocations: 54.3 MB / 0.95 GB, free: 4.75 MB / 0.7173 GB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/1.404, allocations: 8.031 kB / 0.95 GB, free: 4.742 MB / 0.7173 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001166/1.405, allocations: 0.8488 MB / 0.9509 GB, free: 3.895 MB / 0.7173 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02156/1.427, allocations: 4.783 MB / 0.9555 GB, free: 15.09 MB / 0.7329 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/1.448, allocations: 4.385 MB / 0.9598 GB, free: 10.68 MB / 0.7329 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06612/1.514, allocations: 23.81 MB / 0.9831 GB, free: 3.52 MB / 0.7485 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003444/1.518, allocations: 2.405 MB / 0.9854 GB, free: 1.113 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01433/1.532, allocations: 3.146 MB / 0.9885 GB, free: 13.96 MB / 0.7642 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1541/1.686, allocations: 73.97 MB / 1.061 GB, free: 14.88 MB / 0.8423 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001554/1.688, allocations: 0 / 1.061 GB, free: 14.88 MB / 0.8423 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01521/1.703, allocations: 1.449 MB / 1.062 GB, free: 13.43 MB / 0.8423 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000811/1.704, allocations: 0.7773 MB / 1.063 GB, free: 12.65 MB / 0.8423 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5591/2.263, allocations: 54.43 MB / 1.116 GB, free: 247.4 MB / 0.8423 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.363/2.626, allocations: 151.7 MB / 1.264 GB, free: 101.4 MB / 0.8423 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06823/2.694, allocations: 46.07 MB / 1.309 GB, free: 55.49 MB / 0.8423 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0351/2.729, allocations: 20.28 MB / 1.329 GB, free: 35.18 MB / 0.8423 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002029/2.731, allocations: 255.9 kB / 1.329 GB, free: 34.93 MB / 0.8423 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006279/2.732, allocations: 0.4939 MB / 1.33 GB, free: 34.42 MB / 0.8423 GB Notification: Performance of pre-optimization done (n=2540): time 0.0001376/2.732, allocations: 0 / 1.33 GB, free: 34.42 MB / 0.8423 GB Notification: Performance of matching and sorting (n=2540): time 0.1566/2.889, allocations: 63.23 MB / 1.391 GB, free: 3.168 MB / 0.8735 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004444/2.889, allocations: 311.3 kB / 1.392 GB, free: 2.852 MB / 0.8735 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5364/3.425, allocations: 35.17 MB / 1.426 GB, free: 263.7 MB / 0.8892 GB Notification: Performance of collectPreVariables (initialization): time 0.00717/3.433, allocations: 0.5675 MB / 1.427 GB, free: 263.3 MB / 0.8892 GB Notification: Performance of collectInitialEqns (initialization): time 0.01988/3.452, allocations: 15.86 MB / 1.442 GB, free: 255.1 MB / 0.8892 GB Notification: Performance of collectInitialBindings (initialization): time 0.01421/3.467, allocations: 9.062 MB / 1.451 GB, free: 249.2 MB / 0.8892 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03607/3.503, allocations: 5.709 MB / 1.457 GB, free: 246.9 MB / 0.8892 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/3.503, allocations: 301.1 kB / 1.457 GB, free: 246.6 MB / 0.8892 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03965/3.542, allocations: 21.08 MB / 1.477 GB, free: 242.1 MB / 0.8892 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04346/3.586, allocations: 25.58 MB / 1.502 GB, free: 233.3 MB / 0.8892 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1223/3.708, allocations: 43.69 MB / 1.545 GB, free: 194.1 MB / 0.8892 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000276/3.708, allocations: 31.22 kB / 1.545 GB, free: 194.1 MB / 0.8892 GB Notification: Performance of matching and sorting (n=3821) (initialization): time 0.1545/3.863, allocations: 68.54 MB / 1.612 GB, free: 129.7 MB / 0.8892 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/3.863, allocations: 44 kB / 1.612 GB, free: 129.6 MB / 0.8892 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003441/3.864, allocations: 96.94 kB / 1.612 GB, free: 129.5 MB / 0.8892 GB Notification: Tearing is skipped for strong component 1 because system size of 1659 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/3.864, allocations: 175.9 kB / 1.612 GB, free: 129.4 MB / 0.8892 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01965/3.884, allocations: 4.942 MB / 1.617 GB, free: 124.4 MB / 0.8892 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004735/3.884, allocations: 235.3 kB / 1.617 GB, free: 124.2 MB / 0.8892 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04189/3.926, allocations: 7.292 MB / 1.625 GB, free: 117.7 MB / 0.8892 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008773/3.935, allocations: 0.9502 MB / 1.625 GB, free: 116.7 MB / 0.8892 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * 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 (2163): * Single equations (assignments): 2162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(1659,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.03454/3.969, allocations: 12.83 MB / 1.638 GB, free: 104 MB / 0.8892 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01691/3.986, allocations: 3.076 MB / 1.641 GB, free: 100.9 MB / 0.8892 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/3.999, allocations: 4.535 MB / 1.645 GB, free: 96.31 MB / 0.8892 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001554/4, allocations: 243.9 kB / 1.646 GB, free: 96.07 MB / 0.8892 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008648/4, allocations: 239.6 kB / 1.646 GB, free: 95.84 MB / 0.8892 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006014/4.001, allocations: 119.5 kB / 1.646 GB, free: 95.73 MB / 0.8892 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07827/4.079, allocations: 28.44 MB / 1.674 GB, free: 67.61 MB / 0.8892 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001258/4.079, allocations: 0 / 1.674 GB, free: 67.61 MB / 0.8892 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009031/4.088, allocations: 2.208 MB / 1.676 GB, free: 65.4 MB / 0.8892 GB Notification: Tearing is skipped for strong component 2 because system size of 1659 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/4.089, allocations: 32 kB / 1.676 GB, free: 65.37 MB / 0.8892 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005317/4.094, allocations: 432 kB / 1.676 GB, free: 64.95 MB / 0.8892 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001254/4.094, allocations: 35.55 kB / 1.676 GB, free: 64.91 MB / 0.8892 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/4.094, allocations: 0 / 1.676 GB, free: 64.91 MB / 0.8892 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.612/4.706, allocations: 73.7 MB / 1.748 GB, free: 258.6 MB / 0.9048 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01723/4.723, allocations: 4.961 MB / 1.753 GB, free: 258.6 MB / 0.9048 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01562/4.739, allocations: 426.4 kB / 1.754 GB, free: 258.6 MB / 0.9048 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04633/4.785, allocations: 8.753 MB / 1.762 GB, free: 258.5 MB / 0.9048 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01021/4.795, allocations: 3.09 MB / 1.765 GB, free: 258.5 MB / 0.9048 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008048/4.803, allocations: 0.7207 MB / 1.766 GB, free: 258.5 MB / 0.9048 GB Notification: Performance of sorting global known variables: time 0.05347/4.857, allocations: 24.2 MB / 1.79 GB, free: 253.2 MB / 0.9048 GB Notification: Performance of sort global known variables: time 4.61e-07/4.857, allocations: 0 / 1.79 GB, free: 253.2 MB / 0.9048 GB Notification: Performance of remove unused functions: time 0.04771/4.905, allocations: 11.26 MB / 1.801 GB, free: 252.4 MB / 0.9048 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y) * 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 (882): * Single equations (assignments): 881 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(1659,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1746/5.079, allocations: 75.29 MB / 1.874 GB, free: 211 MB / 0.9048 GB Notification: Performance of simCode: created initialization part: time 0.09496/5.174, allocations: 43.84 MB / 1.917 GB, free: 173.5 MB / 0.9048 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-05/5.174, allocations: 58.42 kB / 1.917 GB, free: 173.4 MB / 0.9048 GB Notification: Performance of simCode: created simulation system equations: time 0.04547/5.22, allocations: 19.54 MB / 1.936 GB, free: 153.8 MB / 0.9048 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07009/5.29, allocations: 8.005 MB / 1.944 GB, free: 145.9 MB / 0.9048 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.333/6.623, allocations: 407.2 MB / 2.342 GB, free: 86.89 MB / 0.9204 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04688/6.67, allocations: 22.42 MB / 2.363 GB, free: 64.4 MB / 0.9204 GB Notification: Performance of simCode: alias equations: time 0.04331/6.713, allocations: 13.81 MB / 2.377 GB, free: 50.6 MB / 0.9204 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03707/6.75, allocations: 13.68 MB / 2.39 GB, free: 36.92 MB / 0.9204 GB Notification: Performance of SimCode: time 2.113e-06/6.75, allocations: 0 / 2.39 GB, free: 36.92 MB / 0.9204 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.384/9.134, allocations: 0.7678 GB / 3.158 GB, free: 125.1 MB / 0.936 GB Error: Error building simulator. Build log: cmd: cd '635.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20/635.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20/635.fmutmp/sources/../binaries/linux64 -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20/635.fmutmp/sources/build_cmake_static [ 0%] Building C object CMakeFiles/635.dir/external_solvers/F77_aloc.c.o [ 1%] Building C object CMakeFiles/635.dir/external_solvers/dgemm.c.o [ 2%] Building C object CMakeFiles/635.dir/external_solvers/dgemv.c.o [ 3%] Building C object CMakeFiles/635.dir/external_solvers/dger.c.o [ 3%] Building C object CMakeFiles/635.dir/external_solvers/dgesv.c.o [ 4%] Building C object CMakeFiles/635.dir/external_solvers/dgetf2.c.o [ 5%] Building C object CMakeFiles/635.dir/external_solvers/dgetrf.c.o [ 6%] Building C object CMakeFiles/635.dir/external_solvers/dgetri.c.o [ 7%] Building C object CMakeFiles/635.dir/external_solvers/dgetrs.c.o [ 7%] Building C object CMakeFiles/635.dir/external_solvers/dlamch.c.o [ 8%] Building C object CMakeFiles/635.dir/external_solvers/dlaswp.c.o [ 9%] Building C object CMakeFiles/635.dir/external_solvers/dogleg_.c.o [ 10%] Building C object CMakeFiles/635.dir/external_solvers/dpmpar_.c.o [ 10%] Building C object CMakeFiles/635.dir/external_solvers/dscal.c.o [ 11%] Building C object CMakeFiles/635.dir/external_solvers/dswap.c.o [ 12%] Building C object CMakeFiles/635.dir/external_solvers/dtrmm.c.o [ 13%] Building C object CMakeFiles/635.dir/external_solvers/dtrmv.c.o [ 14%] Building C object CMakeFiles/635.dir/external_solvers/dtrsm.c.o [ 14%] Building C object CMakeFiles/635.dir/external_solvers/dtrti2.c.o [ 15%] Building C object CMakeFiles/635.dir/external_solvers/dtrtri.c.o [ 16%] Building C object CMakeFiles/635.dir/external_solvers/enorm_.c.o [ 17%] Building C object CMakeFiles/635.dir/external_solvers/exit_.c.o [ 17%] Building C object CMakeFiles/635.dir/external_solvers/hybrj_.c.o [ 18%] Building C object CMakeFiles/635.dir/external_solvers/i_nint.c.o [ 19%] Building C object CMakeFiles/635.dir/external_solvers/idamax.c.o [ 20%] Building C object CMakeFiles/635.dir/external_solvers/ieeeck.c.o [ 21%] Building C object CMakeFiles/635.dir/external_solvers/ilaenv.c.o [ 21%] Building C object CMakeFiles/635.dir/external_solvers/iparmq.c.o [ 22%] Building C object CMakeFiles/635.dir/external_solvers/lsame.c.o [ 23%] Building C object CMakeFiles/635.dir/external_solvers/pow_di.c.o [ 24%] Building C object CMakeFiles/635.dir/external_solvers/qform_.c.o [ 25%] Building C object CMakeFiles/635.dir/external_solvers/qrfac_.c.o [ 25%] Building C object CMakeFiles/635.dir/external_solvers/r1mpyq_.c.o [ 26%] Building C object CMakeFiles/635.dir/external_solvers/r1updt_.c.o [ 27%] Building C object CMakeFiles/635.dir/external_solvers/s_cat.c.o [ 28%] Building C object CMakeFiles/635.dir/external_solvers/s_cmp.c.o [ 28%] Building C object CMakeFiles/635.dir/external_solvers/s_copy.c.o [ 29%] Building C object CMakeFiles/635.dir/external_solvers/xerbla.c.o [ 30%] Building C object CMakeFiles/635.dir/gc/memory_pool.c.o [ 31%] Building C object CMakeFiles/635.dir/gc/omc_gc.c.o [ 32%] Building C object CMakeFiles/635.dir/math-support/pivot.c.o [ 32%] Building C object CMakeFiles/635.dir/meta/meta_modelica_catch.c.o [ 33%] Building C object CMakeFiles/635.dir/simulation/jacobian_util.c.o [ 34%] Building C object CMakeFiles/635.dir/simulation/omc_simulation_util.c.o [ 35%] Building C object CMakeFiles/635.dir/simulation/options.c.o [ 35%] Building C object CMakeFiles/635.dir/simulation/simulation_info_json.c.o [ 36%] Building C object CMakeFiles/635.dir/simulation/simulation_omc_assert.c.o [ 37%] Building C object CMakeFiles/635.dir/simulation/solver/cvode_solver.c.o [ 38%] Building C object CMakeFiles/635.dir/simulation/solver/delay.c.o [ 39%] Building C object CMakeFiles/635.dir/simulation/solver/fmi_events.c.o [ 39%] Building C object CMakeFiles/635.dir/simulation/solver/initialization/initialization.c.o [ 40%] Building C object CMakeFiles/635.dir/simulation/solver/linearSolverLapack.c.o [ 41%] Building C object CMakeFiles/635.dir/simulation/solver/linearSolverTotalPivot.c.o [ 42%] Building C object CMakeFiles/635.dir/simulation/solver/linearSystem.c.o [ 42%] Building C object CMakeFiles/635.dir/simulation/solver/model_help.c.o [ 43%] Building C object CMakeFiles/635.dir/simulation/solver/omc_math.c.o [ 44%] Building C object CMakeFiles/635.dir/simulation/solver/spatialDistribution.c.o [ 45%] Building C object CMakeFiles/635.dir/simulation/solver/stateset.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20/635.fmutmp/sources/simulation/solver/stateset.c:349:70: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20/635.fmutmp/sources/simulation/solver/stateset.c:349:140: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu 2 warnings generated. [ 46%] Building C object CMakeFiles/635.dir/simulation/solver/sundials_error.c.o [ 46%] Building C object CMakeFiles/635.dir/simulation/solver/synchronous.c.o [ 47%] Building C object CMakeFiles/635.dir/util/ModelicaUtilities.c.o [ 48%] Building C object CMakeFiles/635.dir/util/base_array.c.o [ 49%] Building C object CMakeFiles/635.dir/util/boolean_array.c.o [ 50%] Building C object CMakeFiles/635.dir/util/context.c.o [ 50%] Building C object CMakeFiles/635.dir/util/division.c.o [ 51%] Building C object CMakeFiles/635.dir/util/doubleEndedList.c.o [ 52%] Building C object CMakeFiles/635.dir/util/generic_array.c.o [ 53%] Building C object CMakeFiles/635.dir/util/index_spec.c.o [ 53%] Building C object CMakeFiles/635.dir/util/integer_array.c.o [ 54%] Building C object CMakeFiles/635.dir/util/list.c.o [ 55%] Building C object CMakeFiles/635.dir/util/modelica_string.c.o [ 56%] Building C object CMakeFiles/635.dir/util/modelica_string_lit.c.o [ 57%] Building C object CMakeFiles/635.dir/util/omc_error.c.o [ 57%] Building C object CMakeFiles/635.dir/util/omc_file.c.o [ 58%] Building C object CMakeFiles/635.dir/util/omc_init.c.o [ 59%] Building C object CMakeFiles/635.dir/util/omc_mmap.c.o [ 60%] Building C object CMakeFiles/635.dir/util/omc_msvc.c.o [ 60%] Building C object CMakeFiles/635.dir/util/omc_numbers.c.o [ 61%] Building C object CMakeFiles/635.dir/util/parallel_helper.c.o [ 62%] Building C object CMakeFiles/635.dir/util/rational.c.o [ 63%] Building C object CMakeFiles/635.dir/util/real_array.c.o [ 64%] Building C object CMakeFiles/635.dir/util/ringbuffer.c.o [ 64%] Building C object CMakeFiles/635.dir/util/simulation_options.c.o [ 65%] Building C object CMakeFiles/635.dir/util/string_array.c.o [ 66%] Building C object CMakeFiles/635.dir/util/utility.c.o [ 67%] Building C object CMakeFiles/635.dir/util/varinfo.c.o [ 67%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20.c.o [ 68%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_01exo.c.o [ 69%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_02nls.c.o [ 70%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_03lsy.c.o [ 71%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_04set.c.o [ 71%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_05evt.c.o [ 72%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_06inz.c.o [ 73%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_06inz_part0.c.o [ 74%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_06inz_part1.c.o [ 75%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_06inz_part2.c.o [ 75%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_06inz_part3.c.o [ 76%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_06inz_part4.c.o [ 77%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_07dly.c.o [ 78%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd.c.o [ 78%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part10.c.o [ 79%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part11.c.o [ 80%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part12.c.o [ 81%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part13.c.o [ 82%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part14.c.o [ 82%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part15.c.o [ 83%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part16.c.o [ 84%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part17.c.o [ 85%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part5.c.o [ 85%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part6.c.o [ 86%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part7.c.o [ 87%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part8.c.o [ 88%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_08bnd_part9.c.o [ 89%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_09alg.c.o [ 89%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_10asr.c.o [ 90%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_11mix.c.o [ 91%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_12jac.c.o [ 92%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_13opt.c.o [ 92%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_14lnz.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20/635.fmutmp/sources/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_14lnz.c:7:88: warning: non-void function does not return a value [-Wreturn-type] { /* system too big, use compiler flag `--maxSizeLinearization` to change threshold */ } ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20/635.fmutmp/sources/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_14lnz.c:9:88: warning: non-void function does not return a value [-Wreturn-type] { /* system too big, use compiler flag `--maxSizeLinearization` to change threshold */ } ^ 2 warnings generated. [ 93%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_15syn.c.o [ 94%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_16dae.c.o [ 95%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_17inl.c.o [ 96%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_18spd.c.o [ 96%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_FMU.c.o [ 97%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_functions.c.o [ 98%] Building C object CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_init_fmu.c.o gmake[2]: *** [CMakeFiles/635.dir/build.make:1826: CMakeFiles/635.dir/ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_init_fmu.c.o] Interrupt gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/635.dir/all] Interrupt gmake: *** [Makefile:136: all] Interrupt " [Timeout remaining time 0] Timeout error for cmd: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="cs",version="2.0",platforms={"static"}) Failed to read output from testmodel.py, exit status != 0: Traceback (most recent call last): File "/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 410, in res=sendExpressionTimeout(omc, cmd, conf["ulimitOmc"]) File "/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 144, in sendExpressionTimeout raise TimeoutError(res[1]) __main__.TimeoutError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 424, in writeResultAndExit(0, omc, omc_new) NameError: name 'omc' is not defined